Added cmake 'help-options' target to print out all available configure options
authorRalf Habacker <ralf.habacker@freenet.de>
Sun, 22 May 2011 21:01:13 +0000 (23:01 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Thu, 22 Sep 2011 18:32:42 +0000 (20:32 +0200)
cherry-picked 5a0c5663ebf0b75503dfa6a60c01df07a29d3334

cmake/CMakeLists.txt

index 89db5d5..51d27cd 100644 (file)
@@ -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}
+)