mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 07:00:19 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
13 lines
413 B
CMake
13 lines
413 B
CMake
|
|
spec2def(hdwwiz.cpl hdwwiz.spec)
|
|
file(GLOB hdwwiz_rc_deps resources/*.*)
|
|
add_rc_deps(hdwwiz.rc ${hdwwiz_rc_deps})
|
|
|
|
add_library(hdwwiz MODULE
|
|
hdwwiz.c
|
|
hdwwiz.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
|
|
|
|
set_module_type(hdwwiz cpl UNICODE)
|
|
add_importlibs(hdwwiz setupapi advapi32 comctl32 rpcrt4 user32 gdi32 devmgr msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET hdwwiz DESTINATION reactos/system32 FOR all)
|