mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Version number put into a separate file
p4#: 20214
This commit is contained in:
parent
e74be2283d
commit
24ac7b819e
8
ResInsightVersion.cmake
Normal file
8
ResInsightVersion.cmake
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
set(CMAKE_MAJOR_VERSION 0)
|
||||
set(CMAKE_MINOR_VERSION 9)
|
||||
set(CMAKE_PATCH_VERSION 0)
|
||||
|
||||
set(PRODUCTVER ${CMAKE_MAJOR_VERSION},${CMAKE_MINOR_VERSION},0,${CMAKE_PATCH_VERSION})
|
||||
set(STRPRODUCTVER ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION})
|
||||
|
4
ThirdParty/Ert/devel/libenkf/applications/ert_tui/timestamp.cmake
vendored
Normal file
4
ThirdParty/Ert/devel/libenkf/applications/ert_tui/timestamp.cmake
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
exec_program( svnversion ${PROJECT_SOURCE_DIR} OUTPUT_VARIABLE SVN_VERSION)
|
||||
exec_program( date OUTPUT_VARIABLE COMPILE_TIME_STAMP)
|
||||
file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/build_timestamp.h "#define SVN_VERSION \"${SVN_VERSION}\"\n#define COMPILE_TIME_STAMP \"${COMPILE_TIME_STAMP}\"\n" )
|
||||
|
Loading…
Reference in New Issue
Block a user