2010-10-06 18:57:42 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2010-10-08 21:02:11 +00:00
|
|
|
|
2010-10-06 18:57:42 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2010-12-24 18:12:56 +00:00
|
|
|
spec2def(objsel.dll objsel.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2010-10-06 18:57:42 +00:00
|
|
|
factory.c
|
|
|
|
objsel.c
|
|
|
|
regsvr.c
|
2010-10-30 16:08:19 +00:00
|
|
|
objsel.rc
|
2010-12-24 18:12:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
|
2010-11-02 19:58:29 +00:00
|
|
|
|
2010-12-24 18:12:56 +00:00
|
|
|
add_library(objsel SHARED ${SOURCE})
|
2010-10-06 18:57:42 +00:00
|
|
|
|
|
|
|
set_module_type(objsel win32dll)
|
|
|
|
|
2010-12-24 18:12:56 +00:00
|
|
|
target_link_libraries(objsel uuid wine)
|
2010-10-06 18:57:42 +00:00
|
|
|
|
|
|
|
add_importlibs(objsel
|
|
|
|
ole32
|
|
|
|
user32
|
|
|
|
advapi32
|
2010-11-27 01:16:42 +00:00
|
|
|
msvcrt
|
2010-10-06 18:57:42 +00:00
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(objsel 1)
|