mirror of
https://github.com/reactos/reactos.git
synced 2024-10-09 02:35:42 +00:00
4fa40b55e4
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
26 lines
533 B
CMake
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)
|