mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 07:08:19 +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.
24 lines
512 B
CMake
24 lines
512 B
CMake
|
|
add_definitions(
|
|
-DNDIS50
|
|
-D_NTDRIVER_)
|
|
|
|
include_directories(
|
|
BEFORE include
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/ndisuio)
|
|
|
|
list(APPEND SOURCE
|
|
createclose.c
|
|
ioctl.c
|
|
main.c
|
|
misc.c
|
|
protocol.c
|
|
readwrite.c
|
|
ndisuio.h)
|
|
|
|
add_library(ndisuio MODULE ${SOURCE} ndisuio.rc)
|
|
set_module_type(ndisuio kernelmodedriver)
|
|
add_importlibs(ndisuio ndis ntoskrnl hal)
|
|
add_pch(ndisuio ndisuio.h SOURCE)
|
|
add_cd_file(TARGET ndisuio DESTINATION reactos/system32/drivers FOR all)
|