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_80) 8 9spec2def(atl80.dll atl80.spec ADD_IMPORTLIB) 10 11list(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 ${CMAKE_CURRENT_BINARY_DIR}/atl80_stubs.c 17 precomp.h) 18 19add_library(atl80 MODULE 20 ${SOURCE} 21 ${CMAKE_CURRENT_BINARY_DIR}/atl80.def) 22 23set_module_type(atl80 win32dll) 24target_link_libraries(atl80 uuid wine) 25add_importlibs(atl80 oleaut32 user32 ole32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll) 26add_pch(atl80 precomp.h SOURCE) 27add_cd_file(TARGET atl80 DESTINATION reactos/system32 FOR all) 28