mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
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.
14 lines
413 B
CMake
14 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)
|