Imported Upstream version 2.8.9
[platform/upstream/cmake.git] / Source / cmDocumentGeneratorExpressions.h
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2000-2010 Kitware, Inc., Insight Software Consortium
4
5   Distributed under the OSI-approved BSD License (the "License");
6   see accompanying file Copyright.txt for details.
7
8   This software is distributed WITHOUT ANY WARRANTY; without even the
9   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10   See the License for more information.
11 ============================================================================*/
12 #ifndef cmDocumentGeneratorExpressions_h
13 #define cmDocumentGeneratorExpressions_h
14
15 #define CM_DOCUMENT_COMMAND_GENERATOR_EXPRESSIONS                       \
16   "Generator expressions are evaluted during build system generation "  \
17   "to produce information specific to each build configuration.  "      \
18   "Valid expressions are:\n"                                            \
19   "  $<CONFIGURATION>          = configuration name\n"                  \
20   "  $<TARGET_FILE:tgt>        = main file (.exe, .so.1.2, .a)\n"       \
21   "  $<TARGET_LINKER_FILE:tgt> = file used to link (.a, .lib, .so)\n"   \
22   "  $<TARGET_SONAME_FILE:tgt> = file with soname (.so.3)\n"            \
23   "where \"tgt\" is the name of a target.  "                            \
24   "Target file expressions produce a full path, but _DIR and _NAME "    \
25   "versions can produce the directory and file name components:\n"      \
26   "  $<TARGET_FILE_DIR:tgt>/$<TARGET_FILE_NAME:tgt>\n"                  \
27   "  $<TARGET_LINKER_FILE_DIR:tgt>/$<TARGET_LINKER_FILE_NAME:tgt>\n"    \
28   "  $<TARGET_SONAME_FILE_DIR:tgt>/$<TARGET_SONAME_FILE_NAME:tgt>\n"
29
30 #endif