1 2add_definitions(-D__WINESRC__) 3 4remove_definitions(-D_WIN32_WINNT=0x502) 5add_definitions(-D_WIN32_WINNT=0x600) 6 7include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 8 9add_idl_headers(atl_atliface_header atliface.idl) 10 11set_rc_compiler() 12spec2def(atl.dll atl.spec) 13 14list(APPEND SOURCE 15 atl_ax.c 16 atl_main.c 17 registrar.c 18 stubs.c 19 rsrc.rc 20 ${CMAKE_CURRENT_BINARY_DIR}/atl.def) 21 22add_library(atl SHARED ${SOURCE}) 23 24set_module_type(atl win32dll) 25 26target_link_libraries(atl uuid wine) 27 28add_importlibs(atl 29 msvcrt 30 ole32 31 oleaut32 32 user32 33 advapi32 34 gdi32 35 kernel32 36 ntdll) 37 38add_importlib_target(atl.spec) 39 40add_dependencies(atl atl_atliface_header) 41add_cab_target(atl 1) 42