mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[KMTEST]
Allow kmtest/kmtloader building with CMake svn path=/branches/GSoC_2011/KMTestSuite/; revision=51633
This commit is contained in:
+2
-1
@@ -1,9 +1,10 @@
|
||||
|
||||
add_subdirectory(apitests)
|
||||
#add_subdirectory(dibtests)
|
||||
add_subdirectory(drivers)
|
||||
#add_subdirectory(dxtest)
|
||||
#add_subdirectory(regtests)
|
||||
add_subdirectory(rosautotest)
|
||||
add_subdirectory(tests)
|
||||
#add_subdirectory(win32)
|
||||
add_subdirectory(win32)
|
||||
add_subdirectory(winetests)
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
#add_subdirectory(csqtest)
|
||||
add_subdirectory(kmtest)
|
||||
#add_subdirectory(memtest)
|
||||
#add_subdirectory(ntoskrnl)
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
list(APPEND KMTEST_SOURCE
|
||||
kmtest.c
|
||||
deviface_test.c
|
||||
drvobj_test.c
|
||||
devobj_test.c
|
||||
reghelper.c
|
||||
ntos_ex.c
|
||||
ntos_io.c
|
||||
ntos_ke.c
|
||||
ntos_ob.c
|
||||
ntos_pools.c
|
||||
ntos_fsrtl.c
|
||||
kmtest.rc)
|
||||
|
||||
add_library(kmtest SHARED ${KMTEST_SOURCE})
|
||||
|
||||
set_module_type(kmtest kernelmodedriver)
|
||||
target_link_libraries(kmtest ${PSEH_LIB})
|
||||
add_importlibs(kmtest ntoskrnl hal)
|
||||
|
||||
add_minicd_target(kmtest reactos kmtest.sys)
|
||||
add_livecd_target(kmtest reactos/system32/drivers)
|
||||
|
||||
|
||||
add_library(kmtestassist SHARED kmtestassist.c)
|
||||
|
||||
set_module_type(kmtestassist kernelmodedriver)
|
||||
add_importlibs(kmtestassist ntoskrnl hal)
|
||||
|
||||
add_minicd_target(kmtestassist reactos kmtestassist.sys)
|
||||
add_livecd_target(kmtestassist reactos/system32/drivers)
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
#add_subdirectory(cmd)
|
||||
#add_subdirectory(DriverLoading)
|
||||
#add_subdirectory(kernel32)
|
||||
add_subdirectory(kmtloader)
|
||||
#add_subdirectory(loadlib)
|
||||
#add_subdirectory(msvcrt)
|
||||
#add_subdirectory(rpcrt4)
|
||||
#add_subdirectory(smss)
|
||||
#add_subdirectory(user32)
|
||||
#add_subdirectory(win32k)
|
||||
@@ -0,0 +1,4 @@
|
||||
add_executable(kmtloader kmtloader.c)
|
||||
set_module_type(kmtloader win32cui)
|
||||
add_importlibs(kmtloader msvcrt kernel32 advapi32)
|
||||
add_cab_target(kmtloader 7)
|
||||
Reference in New Issue
Block a user