ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/create_version.cmake
(Generate patch)

Comparing ray/src/rt/create_version.cmake (file contents):
Revision 1.1 by greg, Wed Oct 26 16:48:01 2011 UTC vs.
Revision 1.2 by greg, Fri Oct 28 20:46:47 2011 UTC

# Line 1 | Line 1
1 < #${CMAKE_COMMAND} -DVERSION_OUT_FILE=v  -DVERSION_IN_FILE=src/rt/VERSION -P src/common/create_version.cmake
1 > #${CMAKE_COMMAND} -DVERSION_OUT_FILE=v  -DVERSION_IN_FILE=src/rt/VERSION -DVERSION_GOLD=src/rt/Version.c -P src/common/create_version.cmake
2 >
3 > # if the gold version exists then use that instead
4 > if(EXISTS "${VERSION_GOLD}")
5 >  configure_file("${VERSION_GOLD}" "${VERSION_OUT_FILE}" COPYONLY)
6 >  return()
7 > endif()
8 >
9   find_program(DATE date)
10   if(DATE)
11    execute_process(COMMAND ${DATE} OUTPUT_VARIABLE DATE_STR)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines