2011-05-16 13:12:07 +00:00
|
|
|
|
2013-09-11 10:20:46 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_ATL_VER=_ATL_VER_30)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(atl.dll atl.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
atl_main.c
|
2012-12-12 12:48:52 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/atl_stubs.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/atl.def)
|
|
|
|
|
2012-12-12 12:48:52 +00:00
|
|
|
add_library(atl SHARED ${SOURCE} rsrc.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(atl win32dll)
|
|
|
|
target_link_libraries(atl uuid wine)
|
2013-09-14 18:22:37 +00:00
|
|
|
add_importlibs(atl atl100 atl80 oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_dependencies(atl atl_atliface_header)
|
|
|
|
add_cd_file(TARGET atl DESTINATION reactos/system32 FOR all)
|