Ignore:
Timestamp:
Mar 26, 2017, 9:41:12 AM (2 years ago)
Author:
cameron
Message:

Parabix version info, unique names for IDISA builders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r5371 r5373  
    88set (icgrep_VERSION_MINOR 6)
    99
     10
     11
    1012option(ENABLE_MULTIPLEXING "Compiling the Multiplexing Module")
    1113option(PRINT_TIMING_INFORMATION "Write compilation and execution timing information to standard error stream")
     
    1416
    1517message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION} in: ${LLVM_DIR}")
     18
    1619set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/cmake") # ensure custom FindXYZ.cmake files are found
     20
     21set (Parabix_REVISION "svn")
     22include(VersionFromVCS)
     23add_version_info_from_vcs(Parabix_REVISION)
     24message(STATUS "Parabix_REVISION: ${Parabix_REVISION}")
     25
    1726
    1827# Now set the header and library paths:
     
    180189ENDIF()
    181190
     191SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPARABIX_VERSION='\"${Parabix_REVISION}\"'")
     192
    182193IF (PRINT_TIMING_INFORMATION)
    183194    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPRINT_TIMING_INFORMATION")
Note: See TracChangeset for help on using the changeset viewer.