summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresetsBuild/Good.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMakePresetsBuild/Good.cmake')
-rw-r--r--Tests/RunCMake/CMakePresetsBuild/Good.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresetsBuild/Good.cmake b/Tests/RunCMake/CMakePresetsBuild/Good.cmake
new file mode 100644
index 0000000..491d367
--- /dev/null
+++ b/Tests/RunCMake/CMakePresetsBuild/Good.cmake
@@ -0,0 +1,3 @@
+add_custom_target(good ALL)
+add_custom_command(TARGET good PRE_BUILD
+ COMMAND ${CMAKE_COMMAND} -E environment)