37ba2cdbc3e5b5cc45b1b70e7d41d488da60a39c
[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 add_library(objsel SHARED
10 factory.c
11 objsel.c
12 regsvr.c
13 objsel.rc
14 objsel.def)
15
16 if(NOT MSVC)
17 set_source_files_properties(objsel.def PROPERTIES EXTERNAL_OBJECT TRUE)
18 endif()
19
20 set_module_type(objsel win32dll)
21
22 target_link_libraries(objsel
23 uuid
24 wine)
25
26 add_importlibs(objsel
27 ole32
28 user32
29 advapi32
30 kernel32
31 ntdll)
32
33 add_cab_target(objsel 1)