diff options
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/CMakePresets/RunCMakeTest.cmake | 5 | ||||
-rw-r--r-- | Tests/RunCMake/CMakePresets/moreThings.json.in | 3 | ||||
-rw-r--r-- | Tests/RunCMake/CMakePresets/otherThings.json.in | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake b/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake index 51e786e..955cf53 100644 --- a/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake +++ b/Tests/RunCMake/CMakePresets/RunCMakeTest.cmake @@ -372,4 +372,9 @@ if(CMAKE_HOST_WIN32) endif() file(WRITE "${RunCMake_BINARY_DIR}/example.json.in" "${_example}") set(CMakePresets_FILE "${RunCMake_BINARY_DIR}/example.json.in") +set(CMakePresets_EXTRA_FILES + "${RunCMake_SOURCE_DIR}/otherThings.json.in" + "${RunCMake_SOURCE_DIR}/moreThings.json.in" +) run_cmake_presets(DocumentationExample --preset=default) +unset(CMakePresets_EXTRA_FILES) diff --git a/Tests/RunCMake/CMakePresets/moreThings.json.in b/Tests/RunCMake/CMakePresets/moreThings.json.in new file mode 100644 index 0000000..61a2092 --- /dev/null +++ b/Tests/RunCMake/CMakePresets/moreThings.json.in @@ -0,0 +1,3 @@ +{ + "version": 1 +} diff --git a/Tests/RunCMake/CMakePresets/otherThings.json.in b/Tests/RunCMake/CMakePresets/otherThings.json.in new file mode 100644 index 0000000..61a2092 --- /dev/null +++ b/Tests/RunCMake/CMakePresets/otherThings.json.in @@ -0,0 +1,3 @@ +{ + "version": 1 +} |