reactos/modules/rosapps/drivers/vfd/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

19 lines
511 B
CMake

list(APPEND SOURCE
vfddbg.c
vfddev.c
vfddrv.c
vfdfmt.c
vfdimg.c
vfdioctl.c
vfdlink.c
vfdmnt.c
vfdpnp.c
vfdrdwr.c)
include_directories(${REACTOS_SOURCE_DIR}/modules/rosapps/include/vfd)
add_library(vfddrv MODULE ${SOURCE} vfddrv.rc)
set_module_type(vfddrv kernelmodedriver)
add_importlibs(vfddrv ntoskrnl hal)
set_target_properties(vfddrv PROPERTIES OUTPUT_NAME "vfd")
add_cd_file(TARGET vfddrv DESTINATION reactos/system32/drivers FOR all)
add_registry_inf(vfd_reg.inf)