[ATL][ATL80][ATL100] Sync with Wine Staging 1.7.55. CORE-10536
[reactos.git] / reactos / dll / win32 / atl100 / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(
6 -D__WINESRC__
7 -D_ATL_VER=_ATL_VER_100)
8
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
10 spec2def(atl100.dll atl100.spec ADD_IMPORTLIB)
11
12 list(APPEND SOURCE
13 ${REACTOS_SOURCE_DIR}/dll/win32/atl/atl.c
14 ${REACTOS_SOURCE_DIR}/dll/win32/atl/atl_ax.c
15 ${REACTOS_SOURCE_DIR}/dll/win32/atl/registrar.c
16 precomp.h
17 ${CMAKE_CURRENT_BINARY_DIR}/atl100_stubs.c)
18
19 add_library(atl100 SHARED
20 ${SOURCE}
21 ${CMAKE_CURRENT_BINARY_DIR}/atl100.def)
22
23 set_module_type(atl100 win32dll)
24 target_link_libraries(atl100 uuid wine)
25 add_importlibs(atl100 ole32 oleaut32 user32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
26 add_pch(atl100 precomp.h SOURCE)
27 add_cd_file(TARGET atl100 DESTINATION reactos/system32 FOR all)