cmake/Tests/RunCMake/ExportCompileCommands/BeforeProject-check.cmake
2020-08-30 11:54:41 +02:00

5 lines
152 B
CMake

if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/compile_commands.json")
set(RunCMake_TEST_FAILED "compile_commands.json not generated")
return()
endif()