COIN-OR::LEMON - Graph Library

Changeset 13:0ab493e5250e in lemon-benchmark for CMakeLists.txt


Ignore:
Timestamp:
12/11/11 18:43:33 (10 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Tags:
tip
Message:

Add build id field to running time logs

Configurable by BENCHMARK_BUILD_ID cmake variable,
which defaults to the last component of the build directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r9 r13  
    1212SET(PROJECT_VERSION "hg-tip"
    1313    CACHE STRING "${PROJECT_NAME} version string")
     14
     15GET_FILENAME_COMPONENT(BUILD_DIR_NAME ${CMAKE_BINARY_DIR} NAME)
     16
     17SET(BENCHMARK_BUILD_ID ${BUILD_DIR_NAME} CACHE STRING "Benchmark build id")
    1418
    1519## Do not edit this.
Note: See TracChangeset for help on using the changeset viewer.