Changeset 45 in flair-src for trunk/tools/FlairGCS


Ignore:
Timestamp:
Jul 18, 2016, 4:13:56 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

added compile info

Location:
trunk/tools/FlairGCS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/CMakeLists.txt

    r40 r45  
    9292
    9393add_custom_target(
    94         svn_rev
    95         COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/svn_revision.sh $ENV{FLAIR_ROOT}/flair-src ${CMAKE_CURRENT_SOURCE_DIR}/src/svnversion.h
     94        compile_info
     95        COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/compile_info.sh ${CMAKE_C_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/compile_info.h
    9696)
    9797
    98 add_dependencies(${PROJECT_NAME} svn_rev)
     98add_dependencies(${PROJECT_NAME} compile_info)
    9999
    100100
  • trunk/tools/FlairGCS/src/main.cpp

    r15 r45  
    1010
    1111#include "Manager.h"
    12 #include "svnversion.h"
     12#include "unexported/compile_info.h"
    1313
    1414using namespace TCLAP;
     
    5151  }
    5252
    53   printf(SVN_REV);
     53  compile_info("FlairGCS");
    5454
    5555  parseOptions(argc, argv);
Note: See TracChangeset for help on using the changeset viewer.