Changeset 2088 for trunk/CMakeLists.txt


Ignore:
Timestamp:
04/01/11 13:58:51 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Modified CMakeLists.txt to execute getsvnrev.sh when cmake is executed.
Added executable to execute getsvnrev.sh properly.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r1976 r2088  
    515515set( PYTHON_INSTALL_DIR python/${PYTHONV}/asap )
    516516set( SHARED_INSTALL_DIR share/asap )
     517
     518#
     519# execute getsvnrev.sh to create/update svninfo.txt
     520# run chmod to make sure the script has executable
     521#
     522exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/getsvnrev.sh )
     523exec_program( chmod ARGS a+x ${ASAP_SOURCE_DIR}/cmake/exec_getsvnrev.sh )
     524exec_program( ${ASAP_SOURCE_DIR}/cmake/exec_getsvnrev.sh ARGS ${ASAP_SOURCE_DIR})
     525
    517526# Add the modules to be built.
    518527#
Note: See TracChangeset for help on using the changeset viewer.