63d5ce32b4baab4ee8bd1fa3f02bbbbdf8d19520
[reactos.git] / dll / win32 / mscms / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(mscms ${CMAKE_CURRENT_SOURCE_DIR}/mscms.spec ${CMAKE_CURRENT_BINARY_DIR}/mscms.def)
6
7 add_library(mscms SHARED
8 handle.c
9 icc.c
10 mscms_main.c
11 profile.c
12 stub.c
13 transform.c
14 version.rc)
15
16 set_module_type(mscms win32dll)
17
18 target_link_libraries(mscms
19 ${CMAKE_CURRENT_BINARY_DIR}/mscms.def
20 wine)
21
22 add_importlibs(mscms kernel32 ntdll)
23 add_dependencies(mscms mscms_def)