include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-spec2def(objsel ${CMAKE_CURRENT_SOURCE_DIR}/objsel.spec ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
+spec2def(objsel.dll objsel.spec)
add_library(objsel SHARED
factory.c
objsel.c
regsvr.c
- objsel.rc)
+ objsel.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
set_module_type(objsel win32dll)
target_link_libraries(objsel
- ${CMAKE_CURRENT_BINARY_DIR}/objsel.def
uuid
wine)
kernel32
ntdll)
-add_dependencies(objsel objsel_def)
-add_livecd_target(objsel reactos/system32)
+
+add_cab_target(objsel 1)