CMakeLists.txt
changeset 13 0ab493e5250e
parent 9 7768d68909e8
     1.1 --- a/CMakeLists.txt	Sun Dec 11 16:08:52 2011 +0100
     1.2 +++ b/CMakeLists.txt	Sun Dec 11 18:43:33 2011 +0100
     1.3 @@ -12,6 +12,10 @@
     1.4  SET(PROJECT_VERSION "hg-tip"
     1.5      CACHE STRING "${PROJECT_NAME} version string")
     1.6  
     1.7 +GET_FILENAME_COMPONENT(BUILD_DIR_NAME ${CMAKE_BINARY_DIR} NAME)
     1.8 +
     1.9 +SET(BENCHMARK_BUILD_ID ${BUILD_DIR_NAME} CACHE STRING "Benchmark build id")
    1.10 +
    1.11  ## Do not edit this.
    1.12  PROJECT(${PROJECT_NAME})
    1.13