2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(hdwwiz.cpl hdwwiz.spec)
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB hdwwiz_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(hdwwiz.rc ${hdwwiz_rc_deps})
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-10-17 23:28:29 +00:00
|
|
|
add_library(hdwwiz SHARED
|
|
|
|
hdwwiz.c
|
|
|
|
hdwwiz.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-10-17 23:28:29 +00:00
|
|
|
set_module_type(hdwwiz cpl UNICODE)
|
|
|
|
add_importlibs(hdwwiz setupapi advapi32 comctl32 rpcrt4 user32 gdi32 devmgr msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET hdwwiz DESTINATION reactos/system32 FOR all)
|