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