1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 4 5spec2def(mscms.dll mscms.spec) 6 7list(APPEND SOURCE 8 handle.c 9 icc.c 10 mscms_main.c 11 profile.c 12 stub.c 13 transform.c 14 version.rc 15 ${CMAKE_CURRENT_BINARY_DIR}/mscms_stubs.c 16 ${CMAKE_CURRENT_BINARY_DIR}/mscms.def) 17 18add_library(mscms SHARED ${SOURCE}) 19set_module_type(mscms win32dll) 20target_link_libraries(mscms wine) 21add_importlibs(mscms msvcrt advapi32 kernel32 ntdll) 22add_cd_file(TARGET mscms DESTINATION reactos/system32 FOR all) 23