[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 stubs.c
18 rsrc.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
20
21 add_library(atl SHARED ${SOURCE})
22
23 set_module_type(atl win32dll)
24
25 target_link_libraries(atl
26 uuid
27 wine)
28
29 add_importlibs(atl
30 msvcrt
31 ole32
32 oleaut32
33 user32
34 advapi32
35 gdi32
36 kernel32
37 ntdll)
38
39 add_dependencies(atl atl_atliface_header)
40 add_cab_target(atl 1)