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


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

added compile info

Location:
trunk/tools/Dbt2csv
Files:
2 edited

Legend:

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

    r40 r45  
    4040
    4141add_custom_target(
    42         svn_rev
    43         COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/svn_revision.sh $ENV{FLAIR_ROOT}/flair-src ${CMAKE_CURRENT_SOURCE_DIR}/src/svnversion.h
     42        compile_info
     43        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
    4444)
    4545
    46 add_dependencies(${PROJECT_NAME} svn_rev)
    47 
     46add_dependencies(${PROJECT_NAME} compile_info)
    4847
    4948SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
  • trunk/tools/Dbt2csv/src/main.cpp

    r16 r45  
    44
    55#include <stdio.h>
    6 #include "svnversion.h"
     6#include "unexported/compile_info.h"
    77#include "file_ui.h"
    88#include <QFileDialog>
    99
    1010int main(int argc, char *argv[]) {
    11   printf(SVN_REV);
     11  compile_info("Dbt2Csv");
    1212
    1313  QLocale::setDefault(QLocale::C);
Note: See TracChangeset for help on using the changeset viewer.