From: <bru...@us...> - 2009-09-28 19:50:17
|
Revision: 4512 http://hugin.svn.sourceforge.net/hugin/?rev=4512&view=rev Author: brunopostle Date: 2009-09-28 19:50:08 +0000 (Mon, 28 Sep 2009) Log Message: ----------- New ChangeLog regime, update like so: cmake -DUPDATE_CHANGELOG=YES . Modified Paths: -------------- autopano-sift-C/trunk/CMakeLists.txt Modified: autopano-sift-C/trunk/CMakeLists.txt =================================================================== --- autopano-sift-C/trunk/CMakeLists.txt 2009-09-28 19:47:58 UTC (rev 4511) +++ autopano-sift-C/trunk/CMakeLists.txt 2009-09-28 19:50:08 UTC (rev 4512) @@ -23,6 +23,13 @@ # Put source root on the include search list INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) +IF (EXISTS ${PROJECT_SOURCE_DIR}/.svn) + IF (UPDATE_CHANGELOG) + EXECUTE_PROCESS(COMMAND "svn2cl" "--group-by-day" "--include-rev" "--linelen=78" + "--output=${PROJECT_SOURCE_DIR}/ChangeLog" "${PROJECT_SOURCE_DIR}" ) + ENDIF (UPDATE_CHANGELOG) +ENDIF (EXISTS ${PROJECT_SOURCE_DIR}/.svn) + # The parent of root directory, for package searches GET_FILENAME_COMPONENT( SOURCE_BASE_DIR ${CMAKE_SOURCE_DIR} PATH CACHE ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |