Changeset 45 in flair-src for trunk/lib/FlairCore/CMakeLists.txt


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

added compile info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/CMakeLists.txt

    r2 r45  
    1919
    2020FILE(GLOB FLAIRCORE_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
    21 
     21message(${CMAKE_C_COMPILER})
    2222INCLUDE_DIRECTORIES(
    2323        ${LIBXML2_INCLUDE_DIR}
     
    3636
    3737add_custom_target(
    38         svn_rev
    39         COMMAND $ENV{FLAIR_ROOT}/flair-dev/scripts/svn_revision.sh $ENV{FLAIR_ROOT}/flair-src ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported/svnversion.h
     38        compile_info
     39        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
    4040)
    4141
    42 add_dependencies(FlairCore_rt svn_rev)
    43 add_dependencies(FlairCore_nrt svn_rev)
     42add_dependencies(FlairCore_rt compile_info)
     43add_dependencies(FlairCore_nrt compile_info)
Note: See TracChangeset for help on using the changeset viewer.