mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:45:34 +00:00
add commit date; revert boost as we are not breaking anything yet
This commit is contained in:
parent
6596c400f3
commit
b8b1a52216
3 changed files with 11 additions and 2 deletions
|
@ -59,6 +59,7 @@ set(OPENMW_VERSION_RELEASE 0)
|
|||
|
||||
set(OPENMW_VERSION_COMMITHASH "")
|
||||
set(OPENMW_VERSION_TAGHASH "")
|
||||
set(OPENMW_VERSION_COMMITDATE "")
|
||||
|
||||
set(OPENMW_VERSION "${OPENMW_VERSION_MAJOR}.${OPENMW_VERSION_MINOR}.${OPENMW_VERSION_RELEASE}")
|
||||
|
||||
|
@ -73,6 +74,14 @@ if(EXISTS ${PROJECT_SOURCE_DIR}/.git)
|
|||
endif(GIT_FOUND)
|
||||
endif(EXISTS ${PROJECT_SOURCE_DIR}/.git)
|
||||
|
||||
execute_process (
|
||||
COMMAND ${GIT_EXECUTABLE} log -1 --format='%aI'
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||
RESULT_VARIABLE EXITCODE3
|
||||
OUTPUT_VARIABLE COMMITDATE
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
string(SUBSTRING ${COMMITDATE} 1 10 OPENMW_VERSION_COMMITDATE)
|
||||
|
||||
# Macros
|
||||
include(OpenMWMacros)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "graphicspage.hpp"
|
||||
|
||||
#include <boost/integer/common_factor.hpp>
|
||||
#include <boost/math/common_factor_rt.hpp>
|
||||
#include <csignal>
|
||||
#include <QDesktopWidget>
|
||||
#include <QMessageBox>
|
||||
|
|
|
@ -43,7 +43,7 @@ Copyright 2017 Bret Curtis <psi29a@gmail.com>
|
|||
<category>RolePlaying</category>
|
||||
</categories>
|
||||
<releases>
|
||||
<release version="@OPENMW_VERSION@" date="2017-12-05"/>
|
||||
<release version="@OPENMW_VERSION@" date="@OPENMW_VERSION_COMMITDATE@"/>
|
||||
</releases>
|
||||
<url type="homepage">https://openmw.org</url>
|
||||
<url type="bugtracker">https://bugs.openmw.org/</url>
|
||||
|
|
Loading…
Reference in a new issue