diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-10 19:43:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-10 19:47:38 +0300 |
commit | a18f4d2bc69aa4707fb0efa92d28297d06be060e (patch) | |
tree | 1ca0bfde3265c507fcb46de8e2422b84fe748e92 /CMakeLists.txt | |
parent | c1e4aaa289f64748093d4cd7590f5836b8873466 (diff) |
CMake: optional date/time overrides for reproducible builds
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fc4ca2729d..af457de21fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,6 +218,10 @@ if(${CMAKE_VERSION} VERSION_LESS 2.8.8) # add_library OBJECT arg unsupported set(WITH_BUILDINFO OFF) endif() +set(BUILDINFO_OVERRIDE_DATE "" CACHE STRING "Use instead of the current date for reproducable builds (empty string disables this option)") +set(BUILDINFO_OVERRIDE_TIME "" CACHE STRING "Use instead of the current time for reproducable builds (empty string disables this option)") +mark_as_advanced(BUILDINFO_OVERRIDE_DATE) +mark_as_advanced(BUILDINFO_OVERRIDE_TIME) option(WITH_IK_ITASC "Enable ITASC IK solver (only disable for development & for incompatible C++ compilers)" ON) option(WITH_IK_SOLVER "Enable Legacy IK solver (only disable for development)" ON) |