4 -D_ATL_VER=_ATL_VER_30)
6 remove_definitions(-D_WIN32_WINNT=0x502)
7 add_definitions(-D_WIN32_WINNT=0x600)
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
11 spec2def(atl.dll atl.spec ADD_IMPORTLIB)
15 ${CMAKE_CURRENT_BINARY_DIR}/atl_stubs.c
16 ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
18 add_library(atl SHARED ${SOURCE} rsrc.rc)
19 set_module_type(atl win32dll)
20 target_link_libraries(atl uuid wine)
21 add_importlibs(atl atl100 atl80 oleaut32 ole32 user32 msvcrt kernel32 ntdll)
22 add_dependencies(atl atl_atliface_header)
23 add_cd_file(TARGET atl DESTINATION reactos/system32 FOR all)