[WINE]
[reactos.git] / dll / win32 / atl / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 add_idl_headers(atl_atliface_header atliface.idl)
10
11 set_rc_compiler()
12 spec2def(atl.dll atl.spec)
13
14 list(APPEND SOURCE
15 atl_ax.c
16 atl_main.c
17 registrar.c
18 stubs.c
19 rsrc.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
21
22 add_library(atl SHARED ${SOURCE})
23
24 set_module_type(atl win32dll)
25
26 target_link_libraries(atl uuid 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_importlib_target(atl.spec)
39
40 add_dependencies(atl atl_atliface_header)
41 add_cab_target(atl 1)