mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00

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.
16 lines
409 B
CMake
16 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)
|