[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:
Thomas Faber 2011-09-08 10:25:40 +00:00
parent 9939e94927
commit 2a447311fe
3 changed files with 7 additions and 4 deletions

View file

@ -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)

View file

@ -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>

View file

@ -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)