summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/NinjaMultiConfig/ExternalProject.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig/ExternalProject.cmake')
-rw-r--r--Tests/RunCMake/NinjaMultiConfig/ExternalProject.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/NinjaMultiConfig/ExternalProject.cmake b/Tests/RunCMake/NinjaMultiConfig/ExternalProject.cmake
new file mode 100644
index 0000000..7948133
--- /dev/null
+++ b/Tests/RunCMake/NinjaMultiConfig/ExternalProject.cmake
@@ -0,0 +1,9 @@
+include(ExternalProject)
+ExternalProject_Add(proj1
+ DOWNLOAD_COMMAND ""
+ SOURCE_DIR ""
+ CONFIGURE_COMMAND ${CMAKE_COMMAND} -E echo "Configure proj1"
+ BUILD_COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/out-$<CONFIG>.txt
+ BUILD_BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/out-$<CONFIG>.txt
+ INSTALL_COMMAND ""
+)