Author: tfaber
Date: Thu Sep 8 10:25:40 2011
New Revision: 53637
URL:
http://svn.reactos.org/svn/reactos?rev=53637&view=rev
Log:
[KMTESTS]
- Use new CMake macros in separate drivers, too
- Use kmtest_.exe filename for rbuild too
Modified:
branches/GSoC_2011/KMTestSuite/kmtests/example/CMakeLists.txt
branches/GSoC_2011/KMTestSuite/kmtests/kmtest.rbuild
branches/GSoC_2011/KMTestSuite/kmtests/ntos_io/CMakeLists.txt
Modified: branches/GSoC_2011/KMTestSuite/kmtests/example/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/e…
==============================================================================
--- branches/GSoC_2011/KMTestSuite/kmtests/example/CMakeLists.txt [iso-8859-1] (original)
+++ branches/GSoC_2011/KMTestSuite/kmtests/example/CMakeLists.txt [iso-8859-1] Thu Sep 8
10:25:40 2011
@@ -10,6 +10,7 @@
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)
Modified: branches/GSoC_2011/KMTestSuite/kmtests/kmtest.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/k…
==============================================================================
--- branches/GSoC_2011/KMTestSuite/kmtests/kmtest.rbuild [iso-8859-1] (original)
+++ branches/GSoC_2011/KMTestSuite/kmtests/kmtest.rbuild [iso-8859-1] Thu Sep 8 10:25:40
2011
@@ -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>
Modified: branches/GSoC_2011/KMTestSuite/kmtests/ntos_io/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/KMTestSuite/kmtests/n…
==============================================================================
--- branches/GSoC_2011/KMTestSuite/kmtests/ntos_io/CMakeLists.txt [iso-8859-1] (original)
+++ branches/GSoC_2011/KMTestSuite/kmtests/ntos_io/CMakeLists.txt [iso-8859-1] Thu Sep 8
10:25:40 2011
@@ -13,7 +13,8 @@
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 @@
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)