Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8681 by zmatsuo, Sat Apr 11 15:52:17 2020 UTC revision 8783 by zmatsuo, Mon May 18 16:10:38 2020 UTC
# Line 132  elseif(NOT $ENV{USERNAME}) Line 132  elseif(NOT $ENV{USERNAME})
132  else()  else()
133    set(USER "NONAME")    set(USER "NONAME")
134  endif()  endif()
135    
136  if(NOT DEFINED SNAPSHOT_DIR)  if(NOT DEFINED SNAPSHOT_DIR)
137    string(TIMESTAMP SNAPSHOT_DIR "snapshot-r${SVNVERSION}-%Y%m%d_%H%M%S-${USER}")    if(DEFINED SVNVERSION)
138        string(TIMESTAMP SNAPSHOT_DIR "snapshot-r${SVNVERSION}-%Y%m%d_%H%M%S-${USER}")
139      else()
140        string(TIMESTAMP SNAPSHOT_DIR "snapshot-unknown-%Y%m%d_%H%M%S-${USER}")
141      endif()
142  endif()  endif()
143  set(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/${SNAPSHOT_DIR}")  set(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/${SNAPSHOT_DIR}")
144    

Legend:
Removed from v.8681  
changed lines
  Added in v.8783

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26