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