Skip to content

Commit

Permalink
Merge pull request #87 from chriseth/fixVersion
Browse files Browse the repository at this point in the history
Add libevmasm version string.
  • Loading branch information
chriseth committed Sep 22, 2015
2 parents 5ca79f0 + 4d82e31 commit 3841d39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include(EthPolicy)
eth_policy()

# 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})

# Let's find our dependencies
Expand Down
6 changes: 4 additions & 2 deletions libsolidity/Version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,20 @@

#include <libsolidity/Version.h>
#include <string>
#include <libevmasm/Version.h>
#include <solidity/BuildInfo.h>
#include <libdevcore/Common.h>

using namespace dev;
using namespace dev::solidity;
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 =
string(dev::solidity::VersionNumber) +
"-" +
string(DEV_QUOTED(ETH_COMMIT_HASH)).substr(0, 8) +
(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;

0 comments on commit 3841d39

Please sign in to comment.