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