7efa34415d2e523522a74b6b69bece698753a232
[reactos.git] / reactos / 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 atl.c
15 atl_ax.c
16 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)