${REACTOS_SOURCE_DIR}/include/reactos/wine
${REACTOS_BINARY_DIR}/include/reactos/idl)
-spec2def(setupapi ${CMAKE_CURRENT_SOURCE_DIR}/setupapi.spec ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def)
+spec2def(setupapi.dll setupapi.spec)
add_library(setupapi SHARED
cfgmgr.c
stringtable.c
stubs.c
rpc.c
- setupapi.rc)
+ setupapi.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def)
set_module_type(setupapi win32dll)
target_link_libraries(setupapi
- ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def
pnp_client
uuid
wine
kernel32
ntdll)
-add_dependencies(setupapi setupapi_def)
-add_livecd_target(setupapi reactos/system32)
+
+add_cab_target(setupapi 1)