summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 0 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 871e0ca1a..97d888762 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -419,19 +419,6 @@ function(create_target_directory_groups target_name)
419 endforeach() 419 endforeach()
420endfunction() 420endfunction()
421 421
422# Gets a UTC timstamp and sets the provided variable to it
423function(get_timestamp _var)
424 string(TIMESTAMP timestamp UTC)
425 set(${_var} "${timestamp}" PARENT_SCOPE)
426endfunction()
427
428# generate git/build information
429include(GetGitRevisionDescription)
430get_git_head_revision(GIT_REF_SPEC GIT_REV)
431git_describe(GIT_DESC --always --long --dirty)
432git_branch_name(GIT_BRANCH)
433get_timestamp(BUILD_DATE)
434
435enable_testing() 422enable_testing()
436add_subdirectory(externals) 423add_subdirectory(externals)
437add_subdirectory(src) 424add_subdirectory(src)