--- Begin Message ---
------------------------------------------------------------
revno: 5120
committer: Garth N. Wells <gnw20@xxxxxxxxx>
branch nick: dolfin-all
timestamp: Tue 2010-08-31 11:09:42 +0100
message:
Print post-install helper message.
added:
cmake/post-install/
cmake/post-install/CMakeLists.txt
modified:
CMakeLists.txt
--
lp:dolfin
https://code.launchpad.net/~dolfin-core/dolfin/main
Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2010-08-30 14:14:09 +0000
+++ CMakeLists.txt 2010-08-31 10:09:42 +0000
@@ -391,3 +391,8 @@
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
#------------------------------------------------------------------------------
+# Print post-install message
+
+add_subdirectory(cmake/post-install)
+
+#------------------------------------------------------------------------------
=== added directory 'cmake/post-install'
=== added file 'cmake/post-install/CMakeLists.txt'
--- cmake/post-install/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ cmake/post-install/CMakeLists.txt 2010-08-31 10:09:42 +0000
@@ -0,0 +1,16 @@
+install(CODE "MESSAGE(
+\"------------------------------------------------------------------------------
+DOLFIN has been installed in
+
+ ${CMAKE_INSTALL_PREFIX}
+
+and the demo programs have been installed in
+
+ ${CMAKE_INSTALL_PREFIX}/${DOLFIN_SHARE_DIR}/demo
+
+A helper file is provided for BASH users to set the appropriate environment
+variables. Before compiling and running programs, source the helper file
+'dolfin.conf':
+
+ source ${CMAKE_INSTALL_PREFIX}/${DOLFIN_SHARE_DIR}/dolfin.conf
+------------------------------------------------------------------------------\")")
--- End Message ---