]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
log target for a nice cmake.log file
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Feb 2013 11:15:25 +0000 (11:15 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Feb 2013 11:15:25 +0000 (11:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28491 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_custom_targets.cmake
deal.II/doc/doxygen/CMakeLists.txt

index ea8431f418bec0f886e3ed38404a88d1bcf26ead..6539aa287931e7f1e05c10dbb8819f670d5cca1a 100644 (file)
 # Setup some convenience custom targets for the build system:
 #
 
+#
+# Dump log files, configuration and system information to a convenient
+# place:
+#
+ADD_CUSTOM_TARGET(log
+  COMMAND ${CMAKE_COMMAND} --system-information ${CMAKE_BINARY_DIR}/cmake.log
+  WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
+  COMMENT "Create cmake.log"
+  )
+
 
 ###########################################################################
 #                                                                         #
index 450b4df1d75f76de2d77245ba049dc79b1f2b3ae..58c74d4c892fda3df4ce70085d080ebf5944f51b 100644 (file)
@@ -98,7 +98,7 @@ ADD_CUSTOM_COMMAND(
     ${CMAKE_CURRENT_BINARY_DIR}/doxygen.log
   COMMAND ${DOXYGEN_EXECUTABLE}
     ${CMAKE_CURRENT_BINARY_DIR}/options.dox
-    > ${CMAKE_CURRENT_BINARY_DIR}/doxygen.log 2>&1 # *pssst*
+    > ${CMAKE_BINARY_DIR}/doxygen.log 2>&1 # *pssst*
   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
   DEPENDS
     tutorial

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.