mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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
This commit is contained in:
@@ -7,7 +7,14 @@
|
||||
|
||||
#include "iface.h"
|
||||
|
||||
extern int custom1_debug();
|
||||
extern int custom2_debug();
|
||||
extern int custom3_debug();
|
||||
extern int custom4_debug();
|
||||
extern int custom5_debug();
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
return iface_src() + iface_debug();
|
||||
return iface_src() + iface_debug() + custom1_debug() + custom2_debug() +
|
||||
custom3_debug() + custom4_debug() + custom5_debug();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user