Files
reactos/modules/rostests/CMakeLists.txt
Timo Kreuzer 782ffca2ce [ROSTESTS] Disable GCC 13 misleading-indentation warning
This warning is caused by todo_wine, etc.
2026-03-18 17:29:12 +02:00

38 lines
1.1 KiB
CMake

start_module_group(rostests)
add_definitions(-DHAVE_APITEST)
if(MSVC_IDE)
add_definitions(-DWINETEST_MSVC_IDE_FORMATTING)
endif()
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
add_compile_options("-Wno-misleading-indentation") # Cause by todo_wine, etc.
endif()
add_subdirectory(apitests)
#add_subdirectory(dibtests)
add_subdirectory(drivers)
#add_subdirectory(dxtest)
if(MSVC OR NOT ARCH STREQUAL "amd64") # FIXME build is broken with new x64 PSEH
add_subdirectory(kmtests)
endif()
#add_subdirectory(regtests)
add_subdirectory(rosautotest)
add_subdirectory(tests)
add_subdirectory(unittests)
add_subdirectory(win32)
add_subdirectory(winetests)
## Extra files needed for the various tests can be added into the "testdata" subdirectory.
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/testdata/)
file(GLOB_RECURSE TESTDATA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/ ${CMAKE_CURRENT_SOURCE_DIR}/testdata/*)
foreach(item ${TESTDATA_FILES})
add_rostests_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/${item} SUBDIR testdata)
endforeach(item)
endif()
end_module_group()