mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +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.
18 lines
404 B
CMake
18 lines
404 B
CMake
|
|
add_definitions(
|
|
-DNDIS50_MINIPORT
|
|
-DNDIS_MINIPORT_DRIVER
|
|
-DNDIS_LEGACY_MINIPORT
|
|
-DNDIS51_MINIPORT)
|
|
|
|
list(APPEND SOURCE
|
|
pcnet.c
|
|
requests.c
|
|
pcnet.h)
|
|
|
|
add_library(pcnet MODULE ${SOURCE} pcnet.rc)
|
|
add_pch(pcnet pcnet.h SOURCE)
|
|
set_module_type(pcnet kernelmodedriver)
|
|
add_importlibs(pcnet ndis ntoskrnl hal)
|
|
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
|