diff options
author | Brad King <brad.king@kitware.com> | 2014-11-14 00:26:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-17 14:36:42 (GMT) |
commit | 557aef0b94c86d13e802e6e8e34a491304d7be2f (patch) | |
tree | a05394a276ea8c490cee08c0e1d38d5b207f1b6e /Tests/CustomCommandByproducts/CustomCommandByproducts.c | |
parent | e15a7075b58aef6fe7b6eb56f810d0f33bc31feb (diff) | |
download | CMake-557aef0b94c86d13e802e6e8e34a491304d7be2f.zip CMake-557aef0b94c86d13e802e6e8e34a491304d7be2f.tar.gz CMake-557aef0b94c86d13e802e6e8e34a491304d7be2f.tar.bz2 |
ExternalProject: Add options to specify BYPRODUCTS (#14963)
The external project's build process may generate byproducts on which
other rules in the driving project's build later depend. Provide a way
for the driving project to specify what byproducts it expects to be made
available by the custom commands that drive the external project.
Diffstat (limited to 'Tests/CustomCommandByproducts/CustomCommandByproducts.c')
-rw-r--r-- | Tests/CustomCommandByproducts/CustomCommandByproducts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CustomCommandByproducts/CustomCommandByproducts.c b/Tests/CustomCommandByproducts/CustomCommandByproducts.c index d9db9e6..1916427 100644 --- a/Tests/CustomCommandByproducts/CustomCommandByproducts.c +++ b/Tests/CustomCommandByproducts/CustomCommandByproducts.c @@ -6,6 +6,7 @@ extern int byproduct5(void); extern int byproduct6(void); extern int byproduct7(void); extern int byproduct8(void); +extern int ExternalLibrary(void); int main(void) { return ( @@ -17,5 +18,6 @@ int main(void) byproduct6() + byproduct7() + byproduct8() + + ExternalLibrary() + 0); } |