mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00

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.
13 lines
312 B
CMake
13 lines
312 B
CMake
|
|
list(APPEND SOURCE
|
|
dfs.c
|
|
mup.c
|
|
dfs.h
|
|
mup.h)
|
|
|
|
add_library(mup MODULE ${SOURCE} mup.rc)
|
|
set_module_type(mup kernelmodedriver)
|
|
target_link_libraries(mup ${PSEH_LIB})
|
|
add_importlibs(mup ntoskrnl hal)
|
|
add_pch(mup mup.h SOURCE)
|
|
add_cd_file(TARGET mup DESTINATION reactos/system32/drivers FOR all)
|