* Sync the recent cmake branch changes.
[reactos.git] / dll / win32 / compstui / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(compstui.dll compstui.spec)
7
8 list(APPEND SOURCE
9 compstui_main.c
10 ${CMAKE_CURRENT_BINARY_DIR}/compstui.def)
11
12 add_library(compstui SHARED ${SOURCE})
13
14 set_module_type(compstui win32dll)
15
16 target_link_libraries(compstui wine)
17
18 add_importlibs(compstui msvcrt kernel32 ntdll)
19 add_cd_file(TARGET compstui DESTINATION reactos/system32 FOR all)
20 add_importlib_target(compstui.spec)