reactos/dll/win32/mscms/CMakeLists.txt
Timo Kreuzer 4fa40b55e4 [MSCMS]
mscms needs to link to advapi32, currently gcc builds optimize the calls to Reg* apis away, because of unimplemented fucntions.

svn path=/branches/cmake-bringup/; revision=50586
2011-02-01 20:23:33 +00:00

26 lines
533 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(mscms.dll mscms.spec)
list(APPEND SOURCE
handle.c
icc.c
mscms_main.c
profile.c
stub.c
transform.c
version.rc
${CMAKE_CURRENT_BINARY_DIR}/mscms_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/mscms.def)
add_library(mscms SHARED ${SOURCE})
set_module_type(mscms win32dll)
target_link_libraries(mscms wine)
add_importlibs(mscms msvcrt advapi32 kernel32 ntdll)
add_cab_target(mscms 1)