bff7f75cf08c5402bd47384060ef17c1136991a9
[reactos.git] / dll / win32 / objsel / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x600)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(objsel ${CMAKE_CURRENT_SOURCE_DIR}/objsel.spec ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
9
10 add_library(objsel SHARED
11 factory.c
12 objsel.c
13 regsvr.c
14 objsel.rc)
15
16 set_module_type(objsel win32dll)
17
18 target_link_libraries(objsel
19 ${CMAKE_CURRENT_BINARY_DIR}/objsel.def
20 uuid
21 wine)
22
23 add_importlibs(objsel
24 ole32
25 user32
26 advapi32
27 kernel32
28 ntdll)
29
30 add_dependencies(objsel objsel_def)