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