[CMAKE]
[reactos.git] / dll / win32 / objsel / 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(objsel ${CMAKE_CURRENT_SOURCE_DIR}/objsel.spec ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
10
11 add_library(objsel SHARED
12 factory.c
13 objsel.c
14 regsvr.c
15 objsel.rc)
16
17 set_module_type(objsel win32dll)
18
19 target_link_libraries(objsel
20 ${CMAKE_CURRENT_BINARY_DIR}/objsel.def
21 uuid
22 wine)
23
24 add_importlibs(objsel
25 ole32
26 user32
27 advapi32
28 kernel32
29 ntdll)
30
31 add_dependencies(objsel objsel_def)
32 add_cab_target(objsel 1)