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