mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 14:18:41 +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.
20 lines
511 B
CMake
20 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)
|