xref: /reactos/modules/rostests/CMakeLists.txt (revision 1734f297)
1
2start_module_group(rostests)
3
4add_definitions(-DHAVE_APITEST)
5
6if(MSVC_IDE)
7    add_definitions(-DWINETEST_MSVC_IDE_FORMATTING)
8endif()
9
10add_subdirectory(apitests)
11#add_subdirectory(dibtests)
12add_subdirectory(drivers)
13#add_subdirectory(dxtest)
14add_subdirectory(kmtests)
15#add_subdirectory(regtests)
16add_subdirectory(rosautotest)
17add_subdirectory(tests)
18add_subdirectory(win32)
19add_subdirectory(winetests)
20
21
22## Extra files needed for the various tests can be added into the "testdata" subdirectory.
23if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/testdata/)
24    file(GLOB_RECURSE TESTDATA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/ ${CMAKE_CURRENT_SOURCE_DIR}/testdata/*)
25    foreach(item ${TESTDATA_FILES})
26        add_rostests_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/${item} SUBDIR testdata)
27    endforeach(item)
28endif()
29
30end_module_group()
31