summaryrefslogtreecommitdiff
path: root/rules/CC/foreign/cmake/RULES
diff options
context:
space:
mode:
Diffstat (limited to 'rules/CC/foreign/cmake/RULES')
-rw-r--r--rules/CC/foreign/cmake/RULES7
1 files changed, 5 insertions, 2 deletions
diff --git a/rules/CC/foreign/cmake/RULES b/rules/CC/foreign/cmake/RULES
index 8e8b934..8651f4e 100644
--- a/rules/CC/foreign/cmake/RULES
+++ b/rules/CC/foreign/cmake/RULES
@@ -50,7 +50,8 @@
, "installation but before the output files are collected. Useful for"
, "renaming files or directories. Note that data between \"pre_cmds\" and"
, "\"post_cmds\" can be exchanged via $TMPDIR, which is uniquely reserved"
- , "for this action."
+ , "for this action. The CMake source and build directory can be accessed"
+ , "via $CMAKE_SOURCE_DIR and $CMAKE_BINARY_DIR, respectively."
]
, "out_files":
[ "Paths to the produced output files. The paths are considered relative"
@@ -286,7 +287,9 @@
, "installation but before the output files are collected. Useful for"
, "renaming files or directories (e.g., in case of SONAME mismatch). Note"
, "that data between \"pre_cmds\" and \"post_cmds\" can be exchanged via"
- , "$TMPDIR, which is uniquely reserved for this action."
+ , "$TMPDIR, which is uniquely reserved for this action. The CMake source"
+ , "and build directory can be accessed via $CMAKE_SOURCE_DIR and"
+ , "$CMAKE_BINARY_DIR, respectively."
]
, "out_hdrs":
[ "Paths to produced public header files. The path is considered"