summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CommandLine/env-export-compile-commands-set-check.cmake
blob: a749a55a473e7eb8e47e1861724d7725ea7b3e3b (plain)
1
2
3
if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/compile_commands.json")
  set(RunCMake_TEST_FAILED "compile_commands.json not generated with CMAKE_EXPORT_COMPILE_COMMANDS set")
endif()