diff -r 4eab99ff2666 -r 0ab493e5250e CMakeLists.txt --- a/CMakeLists.txt Sun Dec 11 16:08:52 2011 +0100 +++ b/CMakeLists.txt Sun Dec 11 18:43:33 2011 +0100 @@ -12,6 +12,10 @@ SET(PROJECT_VERSION "hg-tip" CACHE STRING "${PROJECT_NAME} version string") +GET_FILENAME_COMPONENT(BUILD_DIR_NAME ${CMAKE_BINARY_DIR} NAME) + +SET(BENCHMARK_BUILD_ID ${BUILD_DIR_NAME} CACHE STRING "Benchmark build id") + ## Do not edit this. PROJECT(${PROJECT_NAME})