Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53009 - branches/release
From: dgregor_at_[hidden]
Date: 2009-05-14 21:32:20


Author: dgregor
Date: 2009-05-14 21:32:19 EDT (Thu, 14 May 2009)
New Revision: 53009
URL: http://svn.boost.org/trac/boost/changeset/53009

Log:
Make sure that CMake reconfigures when boost/version.hpp changes
Text files modified:
   branches/release/CMakeLists.txt | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: branches/release/CMakeLists.txt
==============================================================================
--- branches/release/CMakeLists.txt (original)
+++ branches/release/CMakeLists.txt 2009-05-14 21:32:19 EDT (Thu, 14 May 2009)
@@ -45,6 +45,10 @@
   message(FATAL_ERROR
     "Unable to parse Boost version from ${CMAKE_CURRENT_SOURCE_DIR}/boost/version.hpp")
 endif()
+
+# Make sure that we reconfigure when boost/version.hpp changes.
+configure_file(boost/version.hpp
+ ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/version.stamp)
 ##########################################################################
 
 # Put the libaries and binaries that get built into directories at the


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk