2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2014-10-17 23:28:29 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(objsel.dll objsel.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
factory.c
|
|
|
|
objsel.c
|
2018-03-20 11:35:24 +00:00
|
|
|
precomp.h)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(objsel SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
objsel.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
|
|
|
|
|
|
|
|
set_module_type(objsel win32dll)
|
|
|
|
target_link_libraries(objsel uuid wine)
|
2014-10-17 23:28:29 +00:00
|
|
|
add_importlibs(objsel ole32 advapi32 msvcrt kernel32 ntdll)
|
2018-03-20 11:35:24 +00:00
|
|
|
add_pch(objsel precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET objsel DESTINATION reactos/system32 FOR all)
|