summaryrefslogtreecommitdiff
path: root/cmake/CMakeLists.txt
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2011-05-22 23:01:13 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2011-09-22 20:32:42 +0200
commit1767840160736c7a31bf432e6a850154d028f8ac (patch)
tree90e20cf1da465128fea57b95bc9707e1fa75a4b4 /cmake/CMakeLists.txt
parent37a81fc9813aca60a505d6d36f4edf64948a9bc5 (diff)
downloaddbus-1767840160736c7a31bf432e6a850154d028f8ac.tar.gz
Added cmake 'help-options' target to print out all available configure options
cherry-picked 5a0c5663ebf0b75503dfa6a60c01df07a29d3334
Diffstat (limited to 'cmake/CMakeLists.txt')
-rw-r--r--cmake/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 89db5d51..51d27cd1 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -618,3 +618,8 @@ endif(DBUS_DISABLE_CHECKS)
MESSAGE(" ")
INCLUDE(modules/CPackInstallConfig.cmake)
+
+add_custom_target(help-options
+ cmake -LH
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
+)