Sync with trunk r58740.
[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 spec2def(atl.dll atl.spec ADD_IMPORTLIB)
10
11 list(APPEND SOURCE
12 atl_main.c
13 registrar.c
14 ${CMAKE_CURRENT_BINARY_DIR}/atl_stubs.c
15 ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
16
17 add_library(atl SHARED ${SOURCE} rsrc.rc)
18 set_module_type(atl win32dll)
19 target_link_libraries(atl uuid wine)
20 add_importlibs(atl atl100 oleaut32 ole32 user32 msvcrt kernel32 ntdll)
21 add_dependencies(atl atl_atliface_header)
22 add_cd_file(TARGET atl DESTINATION reactos/system32 FOR all)