From: Ralf Habacker Date: Sun, 22 May 2011 21:01:13 +0000 (+0200) Subject: Added cmake 'help-options' target to print out all available configure options X-Git-Tag: dbus-1.4.18~19^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1767840160736c7a31bf432e6a850154d028f8ac;p=platform%2Fupstream%2Fdbus.git Added cmake 'help-options' target to print out all available configure options cherry-picked 5a0c5663ebf0b75503dfa6a60c01df07a29d3334 --- diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 89db5d5..51d27cd 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} +)