summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/add_custom_target/BadByproduct.cmake
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:14:18 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:14:18 +0900
commitd40909a98298a97d879ceeb3b29dcdc858e85628 (patch)
tree0a9255654a9376c5e9f29aa53d15f0ae173751a0 /Tests/RunCMake/add_custom_target/BadByproduct.cmake
parentc5223aaf98b2d10aee32aa614519ee7a23698998 (diff)
downloadcmake-upstream/3.16.0.tar.gz
cmake-upstream/3.16.0.tar.bz2
cmake-upstream/3.16.0.zip
Imported Upstream version 3.16.0upstream/3.16.0
Diffstat (limited to 'Tests/RunCMake/add_custom_target/BadByproduct.cmake')
-rw-r--r--Tests/RunCMake/add_custom_target/BadByproduct.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_custom_target/BadByproduct.cmake b/Tests/RunCMake/add_custom_target/BadByproduct.cmake
new file mode 100644
index 000000000..963d6416b
--- /dev/null
+++ b/Tests/RunCMake/add_custom_target/BadByproduct.cmake
@@ -0,0 +1,6 @@
+set(CMAKE_DISABLE_SOURCE_CHANGES ON)
+add_custom_target(a BYPRODUCTS "a#" COMMAND b)
+add_custom_target(c BYPRODUCTS "a<" COMMAND d)
+add_custom_target(e BYPRODUCTS "a>" COMMAND f)
+add_custom_target(g BYPRODUCTS "$<CONFIG>/#" COMMAND h)
+add_custom_target(i BYPRODUCTS ${CMAKE_CURRENT_SOURCE_DIR}/j COMMAND k)