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