diff options
author | Brad King <brad.king@kitware.com> | 2012-08-13 14:00:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-08-15 15:44:49 (GMT) |
commit | 9d9f616792ee07a460af9f0a6dc036d81b852e66 (patch) | |
tree | 5057d83f7d6a4cdc52472f1b144ac6aad473789a /Source/cmDocumentGeneratorExpressions.h | |
parent | ebf05abda15967f8f50dcf132f7bf84472ca6337 (diff) | |
download | CMake-9d9f616792ee07a460af9f0a6dc036d81b852e66.zip CMake-9d9f616792ee07a460af9f0a6dc036d81b852e66.tar.gz CMake-9d9f616792ee07a460af9f0a6dc036d81b852e66.tar.bz2 |
Add $<CONFIG:...> boolean query generator expression
This expression evaluates to '1' or '0' to indicate whether the build
configuration for which the expression is evaluated matches tha named
configuration. In combination with the "$<0:...>" and "$<1:...>"
expressions this allows per-configuration content to be generated.
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 5d6553d..74c673a 100644 --- a/Source/cmDocumentGeneratorExpressions.h +++ b/Source/cmDocumentGeneratorExpressions.h @@ -18,6 +18,7 @@ "Valid expressions are:\n" \ " $<0:...> = empty string (ignores \"...\")\n" \ " $<1:...> = content of \"...\"\n" \ + " $<CONFIG:cfg> = '1' if config is \"cfg\", else '0'\n" \ " $<CONFIGURATION> = configuration name\n" \ " $<TARGET_FILE:tgt> = main file (.exe, .so.1.2, .a)\n" \ " $<TARGET_LINKER_FILE:tgt> = file used to link (.a, .lib, .so)\n" \ |