mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #87 from chriseth/fixVersion
Add libevmasm version string.
This commit is contained in:
commit
3841d39904
@ -8,7 +8,7 @@ include(EthPolicy)
|
|||||||
eth_policy()
|
eth_policy()
|
||||||
|
|
||||||
# project name and version should be set after cmake_policy CMP0048
|
# project name and version should be set after cmake_policy CMP0048
|
||||||
set(PROJECT_VERSION "0.1.0")
|
set(PROJECT_VERSION "0.1.2")
|
||||||
project(solidity VERSION ${PROJECT_VERSION})
|
project(solidity VERSION ${PROJECT_VERSION})
|
||||||
|
|
||||||
# Let's find our dependencies
|
# Let's find our dependencies
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <libsolidity/Version.h>
|
#include <libsolidity/Version.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <libevmasm/Version.h>
|
||||||
#include <solidity/BuildInfo.h>
|
#include <solidity/BuildInfo.h>
|
||||||
#include <libdevcore/Common.h>
|
#include <libdevcore/Common.h>
|
||||||
|
|
||||||
@ -29,11 +30,12 @@ using namespace dev;
|
|||||||
using namespace dev::solidity;
|
using namespace dev::solidity;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
char const* dev::solidity::VersionNumber = "0.1.2";
|
char const* dev::solidity::VersionNumber = ETH_PROJECT_VERSION;
|
||||||
extern string const dev::solidity::VersionString =
|
extern string const dev::solidity::VersionString =
|
||||||
string(dev::solidity::VersionNumber) +
|
string(dev::solidity::VersionNumber) +
|
||||||
"-" +
|
"-" +
|
||||||
string(DEV_QUOTED(ETH_COMMIT_HASH)).substr(0, 8) +
|
string(DEV_QUOTED(ETH_COMMIT_HASH)).substr(0, 8) +
|
||||||
(ETH_CLEAN_REPO ? "" : "*") +
|
(ETH_CLEAN_REPO ? "" : "*") +
|
||||||
"/" DEV_QUOTED(ETH_BUILD_TYPE) "-" DEV_QUOTED(ETH_BUILD_PLATFORM);
|
"/" DEV_QUOTED(ETH_BUILD_TYPE) "-" DEV_QUOTED(ETH_BUILD_PLATFORM)
|
||||||
|
" linked to libethereum-" + eth::VersionStringLibEvmAsm;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user