Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow cet_script targets as TEST_EXEC without PATH
A corner case of cet_test usage is when passing cet_script s, e.g. cet_script(foo) ... cet_test(bar HANDBUILT TEST_EXEC foo) Whilst 'foo' is a target, it is not of type 'EXECUTABLE' and so CMake cannot generate its full path from $<TARGET_FILE:foo> or otherwise automatically resolve its path. Add a custom property to targets created by cet_script that holds the absolute path to the "built" script. Use this in cet_test to identify use of a cet_script and populate the test executable path accordingly.
- Loading branch information
1 parent
cc9afa1
commit f9406df
Showing
2 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters