* Sync up to trunk r55544.
[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 set_rc_compiler()
10 spec2def(objsel.dll objsel.spec)
11
12 list(APPEND SOURCE
13 factory.c
14 objsel.c
15 objsel.rc
16 ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
17
18 add_library(objsel SHARED ${SOURCE})
19
20 set_module_type(objsel win32dll)
21
22 target_link_libraries(objsel uuid wine)
23
24 add_importlibs(objsel
25 ole32
26 user32
27 advapi32
28 msvcrt
29 kernel32
30 ntdll)
31
32 add_pch(objsel objsel_private.h)
33 add_cd_file(TARGET objsel DESTINATION reactos/system32 FOR all)