xref: /reactos/dll/win32/objsel/CMakeLists.txt (revision f04935d8)
1
2remove_definitions(-D_WIN32_WINNT=0x502)
3add_definitions(-D_WIN32_WINNT=0x600)
4
5add_definitions(-D__WINESRC__)
6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7spec2def(objsel.dll objsel.spec)
8
9list(APPEND SOURCE
10    factory.c
11    objsel.c
12    precomp.h)
13
14add_library(objsel SHARED
15    ${SOURCE}
16    objsel.rc
17    ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
18
19set_module_type(objsel win32dll)
20target_link_libraries(objsel uuid wine)
21add_importlibs(objsel ole32 advapi32 msvcrt kernel32 ntdll)
22add_pch(objsel precomp.h SOURCE)
23add_cd_file(TARGET objsel DESTINATION reactos/system32 FOR all)
24