mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +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.
14 lines
348 B
CMake
14 lines
348 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
|
|
|
list(APPEND SOURCE
|
|
blue.c
|
|
font.c
|
|
blue.h)
|
|
|
|
add_library(blue MODULE ${SOURCE} blue.rc)
|
|
set_module_type(blue kernelmodedriver)
|
|
add_importlibs(blue ntoskrnl hal)
|
|
add_pch(blue blue.h SOURCE)
|
|
add_cd_file(TARGET blue DESTINATION reactos/system32/drivers NO_CAB FOR all)
|