[CMake] Create custom "make help"
DKLind
davidklind at gmail.com
Fri Dec 30 16:57:54 EST 2016
Is there a way to create a custom help that is displayed with "make help"?
I have tried to implement this using the instructions in this thread: </a>
<http://cmake.3232098.n2.nabble.com/How-to-list-user-definable-CMake-variables-td5578249.html>
add_custom_target(HelpMe
COMMAND ${CMAKE_COMMAND}
-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_SOURCE_DIR} --help-module HelpMe
COMMENT "Display User defined help")
When I run "make HelpMe" I get the following error: Argument "HelpMe" to
--help-module is not a CMake module.
--
View this message in context: http://cmake.3232098.n2.nabble.com/Create-custom-make-help-tp7594797.html
Sent from the CMake mailing list archive at Nabble.com.
More information about the CMake
mailing list