summaryrefslogtreecommitdiffstats
path: root/Tests/ConfigSources/main_other.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-19 19:20:53 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-11 13:24:21 (GMT)
commitc257c25419c68e755b0f8289d8d563437bf9e0c2 (patch)
tree20418dcf8153ad50a55a4f7a4c0bc14cdb9de22f /Tests/ConfigSources/main_other.cpp
parentf36af9228b2ad36442f0cce9e8c8533fadef65aa (diff)
downloadCMake-c257c25419c68e755b0f8289d8d563437bf9e0c2.zip
CMake-c257c25419c68e755b0f8289d8d563437bf9e0c2.tar.gz
CMake-c257c25419c68e755b0f8289d8d563437bf9e0c2.tar.bz2
add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTS
Move rejection of `#`, `<`, and `>` characters in outputs and byproducts to a generate-time check. This removes the front-end check that disallowed generator expressions. The generators have already been updated to handle them. Fixes: #12877
Diffstat (limited to 'Tests/ConfigSources/main_other.cpp')
-rw-r--r--Tests/ConfigSources/main_other.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/Tests/ConfigSources/main_other.cpp b/Tests/ConfigSources/main_other.cpp
index 3184a19..74f2156 100644
--- a/Tests/ConfigSources/main_other.cpp
+++ b/Tests/ConfigSources/main_other.cpp
@@ -7,7 +7,14 @@
#include "iface.h"
+extern int custom1_other();
+extern int custom2_other();
+extern int custom3_other();
+extern int custom4_other();
+extern int custom5_other();
+
int main(int argc, char** argv)
{
- return iface_src() + iface_other();
+ return iface_src() + iface_other() + custom1_other() + custom2_other() +
+ custom3_other() + custom4_other() + custom5_other();
}