xref: /reactos/dll/win32/atl100/CMakeLists.txt (revision 1ac9e484)
1
2remove_definitions(-D_WIN32_WINNT=0x502)
3add_definitions(-D_WIN32_WINNT=0x600)
4
5add_definitions(
6    -D__WINESRC__
7    -D_ATL_VER=_ATL_VER_100)
8
9include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
10spec2def(atl100.dll atl100.spec ADD_IMPORTLIB)
11
12list(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
19add_library(atl100 MODULE
20    ${SOURCE}
21    ${CMAKE_CURRENT_BINARY_DIR}/atl100.def)
22
23set_module_type(atl100 win32dll)
24target_link_libraries(atl100 uuid wine)
25add_importlibs(atl100 ole32 oleaut32 user32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
26add_pch(atl100 precomp.h SOURCE)
27add_cd_file(TARGET atl100 DESTINATION reactos/system32 FOR all)
28