* Sync up to trunk HEAD (r62502).
[reactos.git] / dll / win32 / atl / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_ATL_VER=_ATL_VER_30)
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.dll atl.spec ADD_IMPORTLIB)
12
13 list(APPEND SOURCE
14 atl_main.c
15 ${CMAKE_CURRENT_BINARY_DIR}/atl_stubs.c
16 ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
17
18 add_library(atl SHARED ${SOURCE} rsrc.rc)
19 set_module_type(atl win32dll)
20 target_link_libraries(atl uuid wine)
21 add_importlibs(atl atl100 atl80 oleaut32 ole32 user32 msvcrt kernel32 ntdll)
22 add_dependencies(atl atl_atliface_header)
23 add_cd_file(TARGET atl DESTINATION reactos/system32 FOR all)