mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
7e069ccdb2
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
62 lines
2 KiB
CMake
62 lines
2 KiB
CMake
|
|
include_directories(../include)
|
|
|
|
#
|
|
# IoCreateFile
|
|
#
|
|
list(APPEND IOCREATEFILE_DRV_SOURCE
|
|
../kmtest_drv/kmtest_standalone.c
|
|
IoCreateFile_drv.c)
|
|
|
|
add_library(iocreatefile_drv MODULE ${IOCREATEFILE_DRV_SOURCE})
|
|
set_module_type(iocreatefile_drv kernelmodedriver)
|
|
target_link_libraries(iocreatefile_drv kmtest_printf ${PSEH_LIB})
|
|
add_importlibs(iocreatefile_drv ntoskrnl hal)
|
|
target_compile_definitions(iocreatefile_drv PRIVATE KMT_STANDALONE_DRIVER)
|
|
#add_pch(iocreatefile_drv ../include/kmt_test.h)
|
|
add_rostests_file(TARGET iocreatefile_drv)
|
|
|
|
#
|
|
# IoDeviceObject
|
|
#
|
|
list(APPEND IODEVICEOBJECT_DRV_SOURCE
|
|
../kmtest_drv/kmtest_standalone.c
|
|
IoDeviceObject_drv.c)
|
|
|
|
add_library(iodeviceobject_drv MODULE ${IODEVICEOBJECT_DRV_SOURCE})
|
|
set_module_type(iodeviceobject_drv kernelmodedriver)
|
|
target_link_libraries(iodeviceobject_drv kmtest_printf ${PSEH_LIB})
|
|
add_importlibs(iodeviceobject_drv ntoskrnl hal)
|
|
target_compile_definitions(iodeviceobject_drv PRIVATE KMT_STANDALONE_DRIVER)
|
|
#add_pch(iodeviceobject_drv ../include/kmt_test.h)
|
|
add_rostests_file(TARGET iodeviceobject_drv)
|
|
|
|
#
|
|
# IoHelper
|
|
#
|
|
list(APPEND IOHELPER_DRV_SOURCE
|
|
../kmtest_drv/kmtest_standalone.c
|
|
IoHelper_drv.c)
|
|
|
|
add_library(iohelper_drv MODULE ${IOHELPER_DRV_SOURCE})
|
|
set_module_type(iohelper_drv kernelmodedriver)
|
|
target_link_libraries(iohelper_drv kmtest_printf ${PSEH_LIB})
|
|
add_importlibs(iohelper_drv ntoskrnl hal)
|
|
target_compile_definitions(iohelper_drv PRIVATE KMT_STANDALONE_DRIVER)
|
|
#add_pch(iohelper_drv ../include/kmt_test.h)
|
|
add_rostests_file(TARGET iohelper_drv)
|
|
|
|
#
|
|
# IoReadWrite
|
|
#
|
|
list(APPEND IOREADWRITE_DRV_SOURCE
|
|
../kmtest_drv/kmtest_standalone.c
|
|
IoReadWrite_drv.c)
|
|
|
|
add_library(ioreadwrite_drv MODULE ${IOREADWRITE_DRV_SOURCE})
|
|
set_module_type(ioreadwrite_drv kernelmodedriver)
|
|
target_link_libraries(ioreadwrite_drv kmtest_printf ${PSEH_LIB})
|
|
add_importlibs(ioreadwrite_drv ntoskrnl hal)
|
|
target_compile_definitions(ioreadwrite_drv PRIVATE KMT_STANDALONE_DRIVER)
|
|
#add_pch(ioreadwrite_drv ../include/kmt_test.h)
|
|
add_rostests_file(TARGET ioreadwrite_drv)
|