mirror of
https://github.com/reactos/reactos.git
synced 2025-05-27 21:18:15 +00:00
[KMTESTS]
- Use new CMake macros in separate drivers, too - Use kmtest_.exe filename for rbuild too svn path=/branches/GSoC_2011/KMTestSuite/; revision=53637
This commit is contained in:
parent
9939e94927
commit
2a447311fe
3 changed files with 7 additions and 4 deletions
|
@ -10,6 +10,7 @@ add_library(example_drv SHARED ${EXAMPLE_DRV_SOURCE})
|
|||
set_module_type(example_drv kernelmodedriver)
|
||||
target_link_libraries(example_drv kmtest_printf ${PSEH_LIB})
|
||||
add_importlibs(example_drv ntoskrnl hal)
|
||||
set_property(TARGET example_drv PROPERTY COMPILE_DEFINITIONS KMT_STANDALONE_DRIVER)
|
||||
add_target_compile_definitions(example_drv KMT_STANDALONE_DRIVER)
|
||||
#add_pch(example_drv ../include/kmt_test.h)
|
||||
|
||||
add_cd_file(TARGET example_drv DESTINATION reactos/bin FOR all)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<module name="kmtest" type="win32cui" installbase="bin" installname="kmtest.exe">
|
||||
<module name="kmtest" type="win32cui" installbase="bin" installname="kmtest_.exe">
|
||||
<include base="kmtest">include</include>
|
||||
<library>advapi32</library>
|
||||
<library>ntdll</library>
|
||||
|
|
|
@ -13,7 +13,8 @@ add_library(iodeviceobject_drv SHARED ${IODEVICEOBJECT_DRV_SOURCE})
|
|||
set_module_type(iodeviceobject_drv kernelmodedriver)
|
||||
target_link_libraries(iodeviceobject_drv kmtest_printf ${PSEH_LIB})
|
||||
add_importlibs(iodeviceobject_drv ntoskrnl hal)
|
||||
set_property(TARGET iodeviceobject_drv PROPERTY COMPILE_DEFINITIONS KMT_STANDALONE_DRIVER)
|
||||
add_target_compile_definitions(iodeviceobject_drv KMT_STANDALONE_DRIVER)
|
||||
#add_pch(iodeviceobject_drv ../include/kmt_test.h)
|
||||
|
||||
add_cd_file(TARGET iodeviceobject_drv DESTINATION reactos/bin FOR all)
|
||||
|
||||
|
@ -29,6 +30,7 @@ add_library(iohelper_drv SHARED ${IOHELPER_DRV_SOURCE})
|
|||
set_module_type(iohelper_drv kernelmodedriver)
|
||||
target_link_libraries(iohelper_drv kmtest_printf ${PSEH_LIB})
|
||||
add_importlibs(iohelper_drv ntoskrnl hal)
|
||||
set_property(TARGET iohelper_drv PROPERTY COMPILE_DEFINITIONS KMT_STANDALONE_DRIVER)
|
||||
add_target_compile_definitions(iohelper_drv KMT_STANDALONE_DRIVER)
|
||||
#add_pch(iohelper_drv ../include/kmt_test.h)
|
||||
|
||||
add_cd_file(TARGET iohelper_drv DESTINATION reactos/bin FOR all)
|
||||
|
|
Loading…
Reference in a new issue