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>
Sun, 22 May 2011 21:01:13 +0000 (23:01 +0200)
cmake/CMakeLists.txt

index 27101ce..9077a83 100644 (file)
@@ -611,3 +611,8 @@ endif(DBUS_DISABLE_CHECKS)
 MESSAGE(" ")
 
 INCLUDE(modules/CPackInstallConfig.cmake)
+
+add_custom_target(help-options
+    cmake -LH 
+    WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
+)