c27604e573b3b69a4e4bef0dd17539adaedf239e
[reactos.git] / reactos / dll / win32 / atl80 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_ATL_VER=_ATL_VER_80)
5
6 remove_definitions(-D_WIN32_WINNT=0x502)
7 add_definitions(-D_WIN32_WINNT=0x600)
8
9 spec2def(atl80.dll atl80.spec ADD_IMPORTLIB)
10
11 list(APPEND SOURCE
12 ${REACTOS_SOURCE_DIR}/dll/win32/atl/atl.c
13 atl80.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}/atl80_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/atl80.def)
19
20 add_library(atl80 SHARED ${SOURCE})
21 set_module_type(atl80 win32dll)
22 target_link_libraries(atl80 uuid wine)
23 add_importlibs(atl80 oleaut32 user32 ole32 gdi32 advapi32 msvcrt kernel32 ntdll)
24 add_pch(atl80 precomp.h SOURCE)
25 add_cd_file(TARGET atl80 DESTINATION reactos/system32 FOR all)