mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 19:59:49 +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
318 B
CMake
14 lines
318 B
CMake
|
|
list(APPEND SOURCE
|
|
isapnp.c
|
|
pdo.c
|
|
fdo.c
|
|
hardware.c
|
|
isapnp.h)
|
|
|
|
add_library(isapnp MODULE ${SOURCE} isapnp.rc)
|
|
set_module_type(isapnp kernelmodedriver)
|
|
add_importlibs(isapnp ntoskrnl hal)
|
|
add_pch(isapnp isapnp.h SOURCE)
|
|
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|