mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 11:50:08 +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.
17 lines
409 B
CMake
17 lines
409 B
CMake
|
|
list(APPEND SOURCE
|
|
csqrtns.c
|
|
floppy.c
|
|
hardware.c
|
|
ioctl.c
|
|
readwrite.c
|
|
precomp.h)
|
|
|
|
add_library(floppy MODULE ${SOURCE} floppy.rc)
|
|
target_link_libraries(floppy csq)
|
|
add_pch(floppy precomp.h SOURCE)
|
|
set_module_type(floppy kernelmodedriver)
|
|
add_importlibs(floppy hal ntoskrnl)
|
|
add_cd_file(TARGET floppy DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
|
add_registry_inf(floppy_reg.inf)
|