[CMAKE]
[reactos.git] / dll / win32 / comcat / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(comcat.dll comcat.spec)
10
11 list(APPEND SOURCE
12 comcat_main.c
13 version.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/comcat.def)
15
16 add_library(comcat SHARED ${SOURCE})
17
18 set_entrypoint(comcat 0)
19
20 target_link_libraries(comcat uuid wine)
21
22 add_importlibs(comcat ole32 user32 advapi32 ntdll)
23
24 add_dependencies(comcat psdk)
25 add_cd_file(TARGET comcat DESTINATION reactos/system32 FOR all)