$ make install (alternatively $ make -j<N> install)
A detailed ReadME can be found at ./doc/readme.html and
- ./doc/development/cmake.html or at http://www.dealii.org/.
+ ./doc/users/cmake.html or at http://www.dealii.org/.
Getting started:
Further information:
- For further information have a look at ./doc/readme.html or at
+ For further information have a look at ./doc/index.html or at
http://www.dealii.org.
)
ENDIF()
ENDFOREACH()
+
+#
+# Provide an "info" target to print a help message:
+#
+
+FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/print_info.cmake
+"MESSAGE(
+\"###
+#
+# The following targets are available (invoke by $ make <target>):
+#
+# all - compiles the library and all enabled components
+# clean - removes all generated files
+# install - installs into CMAKE_INSTALL_PREFIX
+# help - prints a list of valid top level targets
+# info - prints this help message
+#
+# edit_cache - runs ccmake for changing (cached) configuration variables
+# and reruns the configure and generate phases of CMake
+# rebuild_cache - reruns the configure and generate phases of CMake
+#
+# compat_files - builds and installs the 'compat_files' component
+# documentation - builds and installs the 'documentation' component
+# examples - builds and installs the 'examples' component
+# library - builds and installs the 'library' component
+# mesh_converter - builds and installs the 'mesh_converter' component
+# parameter_gui - builds and installs the 'parameter_gui' component
+#
+# test - runs a minimal set of tests
+#
+# setup_test - sets up the testsuite subprojects
+# clean_test - runs the 'clean' target in every testsuite subproject
+# prune_test - removes all testsuite subprojects
+#
+###\")"
+ )
+ADD_CUSTOM_TARGET(info
+ COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/print_info.cmake
+ )
ENDFOREACH()
_summary(
- "#\n# Detailed information (compiler flags, feature configuration) can be found in detailed.log\n"
+"#\n# Detailed information (compiler flags, feature configuration) can be found in detailed.log
+#\n# Run $ make info to print a help messa, or $ make help for a list of top level targets\n"
)
_both("#\n###")