mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
23373acbb9
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.
15 lines
407 B
CMake
15 lines
407 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
|
|
|
|
list(APPEND SOURCE
|
|
cdrom.c
|
|
findscsi.c
|
|
precomp.h)
|
|
|
|
add_library(cdrom MODULE ${SOURCE} cdrom.rc)
|
|
set_module_type(cdrom kernelmodedriver)
|
|
add_importlibs(cdrom class2 scsiport ntoskrnl hal)
|
|
add_pch(cdrom precomp.h SOURCE)
|
|
add_cd_file(TARGET cdrom DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
|
add_registry_inf(cdrom_reg.inf)
|