You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/CXXModules/examples/import-modules-export-build...

19 lines
1.2 KiB

include("${CMAKE_CURRENT_LIST_DIR}/build-database-check.cmake")
set(item_filter "-ifcOnly")
check_build_database("export-build-database-imported" "build_database.json" NO_EXIST)
check_build_database("export-build-database-imported" "build_database_CXX.json" NO_EXIST)
if (RunCMake_GENERATOR_IS_MULTI_CONFIG)
check_build_database("export-build-database-imported" "build_database_CXX_Debug.json" NO_EXIST)
check_build_database("export-build-database-imported" "build_database_Debug.json" NO_EXIST)
check_build_database("export-build-database-imported" "CMakeFiles/export-module-commands.dir/Debug/CXX_build_database.json" NO_EXIST)
check_build_database("export-build-database-imported" "build_database_CXX_Release.json" NO_EXIST)
check_build_database("export-build-database-imported" "build_database_Release.json" NO_EXIST)
check_build_database("export-build-database-imported" "CMakeFiles/export-module-commands.dir/Release/CXX_build_database.json" NO_EXIST)
else ()
check_build_database("export-build-database-imported" "CMakeFiles/export-module-commands.dir/CXX_build_database.json" NO_EXIST)
endif ()
string(REPLACE ";" "\n " RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}")