diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 13 |
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() |
| 420 | endfunction() | 420 | endfunction() |
| 421 | 421 | ||
| 422 | # Gets a UTC timstamp and sets the provided variable to it | ||
| 423 | function(get_timestamp _var) | ||
| 424 | string(TIMESTAMP timestamp UTC) | ||
| 425 | set(${_var} "${timestamp}" PARENT_SCOPE) | ||
| 426 | endfunction() | ||
| 427 | |||
| 428 | # generate git/build information | ||
| 429 | include(GetGitRevisionDescription) | ||
| 430 | get_git_head_revision(GIT_REF_SPEC GIT_REV) | ||
| 431 | git_describe(GIT_DESC --always --long --dirty) | ||
| 432 | git_branch_name(GIT_BRANCH) | ||
| 433 | get_timestamp(BUILD_DATE) | ||
| 434 | |||
| 435 | enable_testing() | 422 | enable_testing() |
| 436 | add_subdirectory(externals) | 423 | add_subdirectory(externals) |
| 437 | add_subdirectory(src) | 424 | add_subdirectory(src) |