mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
![Victor Perevertkin](/assets/img/avatar_default.png)
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
32 lines
716 B
CMake
32 lines
716 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/fltmgr
|
|
includes)
|
|
|
|
spec2def(fltmgr.sys fltmgr.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
Context.c
|
|
Dispatch.c
|
|
Filter.c
|
|
Interface.c
|
|
Lib.c
|
|
Messaging.c
|
|
Misc.c
|
|
Object.c
|
|
Registry.c
|
|
Volume.c
|
|
fltmgr.h)
|
|
|
|
add_library(fltmgr MODULE
|
|
${SOURCE}
|
|
fltmgr.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/fltmgr.def)
|
|
|
|
set_module_type(fltmgr kernelmodedriver)
|
|
target_link_libraries(fltmgr ${PSEH_LIB})
|
|
add_importlibs(fltmgr ntoskrnl hal)
|
|
target_compile_definitions(fltmgr PRIVATE NTDDI_VERSION=NTDDI_WS03SP1)
|
|
add_pch(fltmgr fltmgr.h SOURCE)
|
|
add_cd_file(TARGET fltmgr DESTINATION reactos/system32/drivers NO_CAB FOR all)
|