reactos/dll/win32/atl/CMakeLists.txt
Timo Kreuzer 0d54e35b94 [CMAKE]
Refactor IDL compilation:
- Move all macros to idl-support.cmake
- Make rpc proxy a static library, instead of fiddeling with SOURCE variable
- Merge client and server rpc libraries into one library
- Reorder global makelist file a little
- Improve configure script
- Improve naming, use add_* when a target is added, generate_* when only a file is generated
- Don't compile wbemcli.idl on MSVC (temp hack)
- Don't compile rossym on MSVC, we don't use it
- Use ml64 as assembler when compiling for amd64
- fix spec2def invocation

svn path=/branches/cmake-bringup/; revision=50478
2011-01-24 18:13:40 +00:00

42 lines
716 B
CMake

add_definitions(-D__WINESRC__)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_idl_headers(atl_atliface_header atliface.idl)
set_rc_compiler()
spec2def(atl.dll atl.spec)
list(APPEND SOURCE
atl_ax.c
atl_main.c
registrar.c
stubs.c
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/atl.def)
add_library(atl SHARED ${SOURCE})
set_module_type(atl win32dll)
target_link_libraries(atl uuid wine)
add_importlibs(atl
msvcrt
ole32
oleaut32
user32
advapi32
gdi32
kernel32
ntdll)
add_importlib_target(atl.spec)
add_dependencies(atl atl_atliface_header)
add_cab_target(atl 1)