5507578902bb9e8084db1611224b518661622ca8
[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 ${CMAKE_CURRENT_SOURCE_DIR}/atl.spec ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
12
13 add_library(atl SHARED
14 atl_ax.c
15 atl_main.c
16 registrar.c
17 rsrc.rc)
18
19 set_module_type(atl win32dll)
20
21 target_link_libraries(atl
22 ${CMAKE_CURRENT_BINARY_DIR}/atl.def
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 atl_def)
37 add_livecd_target(atl reactos/system32)