diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-11-19 22:56:12 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-13 23:08:47 (GMT) |
commit | 2bee6f5ba5b3f33817cc00e056a7df60d05c9399 (patch) | |
tree | dd762381e9921188650734c85cdb22f4f6243333 /Source/cmDocumentGeneratorExpressions.h | |
parent | 3367d0cc7fe50e6b6fc06c85c8c38c683c1d3805 (diff) | |
download | CMake-2bee6f5ba5b3f33817cc00e056a7df60d05c9399.zip CMake-2bee6f5ba5b3f33817cc00e056a7df60d05c9399.tar.gz CMake-2bee6f5ba5b3f33817cc00e056a7df60d05c9399.tar.bz2 |
Add the TARGET_DEFINED generator expression
This tests whether the parameter is a usable target.
Diffstat (limited to 'Source/cmDocumentGeneratorExpressions.h')
-rw-r--r-- | Source/cmDocumentGeneratorExpressions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmDocumentGeneratorExpressions.h b/Source/cmDocumentGeneratorExpressions.h index b8889ac..fa21907 100644 --- a/Source/cmDocumentGeneratorExpressions.h +++ b/Source/cmDocumentGeneratorExpressions.h @@ -37,6 +37,7 @@ "target in the same buildsystem. Expands to the empty string " \ "otherwise.\n" \ " $<TARGET_FILE:tgt> = main file (.exe, .so.1.2, .a)\n" \ + " $<TARGET_DEFINED:tgt> = '1' if tgt is a target, else '0'\n" \ " $<TARGET_LINKER_FILE:tgt> = file used to link (.a, .lib, .so)\n" \ " $<TARGET_SONAME_FILE:tgt> = file with soname (.so.3)\n" \ "where \"tgt\" is the name of a target. " \ |