[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 list(APPEND SOURCE
12 factory.c
13 objsel.c
14 regsvr.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_cd_file(TARGET objsel DESTINATION reactos/system32 FOR all)