2012-12-12 12:48:52 +00:00
|
|
|
|
2013-09-13 22:50:10 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_ATL_VER=_ATL_VER_100)
|
2012-12-12 12:48:52 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
spec2def(atl100.dll atl100.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
atl.c
|
|
|
|
atl_ax.c
|
|
|
|
registrar.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/atl100_stubs.c)
|
|
|
|
|
|
|
|
add_library(atl100 SHARED
|
|
|
|
${SOURCE}
|
2012-12-12 12:48:52 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/atl100.def)
|
|
|
|
|
|
|
|
set_module_type(atl100 win32dll)
|
|
|
|
target_link_libraries(atl100 uuid wine)
|
|
|
|
add_importlibs(atl100 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(atl100 precomp.h SOURCE)
|
2012-12-12 12:48:52 +00:00
|
|
|
add_cd_file(TARGET atl100 DESTINATION reactos/system32 FOR all)
|