mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +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
312 B
CMake
14 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)
|