- Timestamp:
- 10/23/15 16:25:49 (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r3053 r3054 683 683 # run chmod to make sure the script has executable 684 684 # 685 exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/getsvnrev.sh ) 686 exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/cmake/exec_getsvnrev.sh ) 687 exec_program( ${ASAP_SOURCE_DIR}/cmake/exec_getsvnrev.sh ARGS ${ASAP_SOURCE_DIR}) 685 execute_process( COMMAND svn info 686 RESULT_VARIABLE SVNINFOSTATUS 687 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} 688 ) 689 message("SVNINFOSTATUS: ${SVNINFOSTATUS}") 690 691 if(${SVNINFOSTATUS} STREQUAL "0") 692 message("Running svn scripts.") 693 exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/getsvnrev.sh ) 694 exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/cmake/exec_getsvnrev.sh ) 695 exec_program( ${ASAP_SOURCE_DIR}/cmake/exec_getsvnrev.sh ARGS ${ASAP_SOURCE_DIR}) 696 else () 697 message("Couldn't get svn info. Running git scripts.") 698 exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/getgitrev.sh ) 699 exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/cmake/exec_getgitrev.sh ) 700 exec_program( ${ASAP_SOURCE_DIR}/cmake/exec_getgitrev.sh ARGS ${ASAP_SOURCE_DIR}) 701 endif () 688 702 689 703 # Add the modules to be built.
Note:
See TracChangeset
for help on using the changeset viewer.