[CMAKE]
[reactos.git] / dll / win32 / atl / CMakeLists.txt
1
2 ADD_INTERFACE_DEFINITIONS(atl_atliface_header atliface.idl)
3
4 add_definitions(-D__WINESRC__)
5
6 remove_definitions(-D_WIN32_WINNT=0x502)
7 add_definitions(-D_WIN32_WINNT=0x600)
8
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
10
11 spec2def(atl.dll atl.spec)
12
13 add_library(atl SHARED
14 atl_ax.c
15 atl_main.c
16 registrar.c
17 rsrc.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
19
20 set_module_type(atl win32dll)
21
22 target_link_libraries(atl
23 uuid
24 wine)
25
26 add_importlibs(atl
27 msvcrt
28 ole32
29 oleaut32
30 user32
31 advapi32
32 gdi32
33 kernel32
34 ntdll)
35
36 add_dependencies(atl atl_atliface_header)
37 add_cab_target(atl 1)