Sync with trunk r63174.
[reactos.git] / dll / win32 / atl100 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_ATL_VER=_ATL_VER_100)
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(atl100.dll atl100.spec ADD_IMPORTLIB)
12
13 list(APPEND SOURCE
14 ${REACTOS_SOURCE_DIR}/dll/win32/atl/atl.c
15 ${REACTOS_SOURCE_DIR}/dll/win32/atl/atl_ax.c
16 ${REACTOS_SOURCE_DIR}/dll/win32/atl/registrar.c
17 precomp.h
18 ${CMAKE_CURRENT_BINARY_DIR}/atl100_stubs.c)
19
20 add_library(atl100 SHARED
21 ${SOURCE}
22 ${CMAKE_CURRENT_BINARY_DIR}/atl100.def)
23
24 set_module_type(atl100 win32dll)
25 target_link_libraries(atl100 uuid wine)
26 add_importlibs(atl100 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
27 add_pch(atl100 precomp.h SOURCE)
28 add_cd_file(TARGET atl100 DESTINATION reactos/system32 FOR all)