solidity/CMakeLists.txt
Bob Summerwill a0e0fa3616 Updated version number to 0.3.4.
This is a really minor release, corresponding to webthree-umbrella 1.2.5 -> 1.2.6.
Just a couple of days worth of changes.
2016-05-31 11:01:23 -07:00

43 lines
947 B
CMake

cmake_minimum_required(VERSION 3.0.0)
set(ETH_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/../webthree-helpers/cmake" CACHE PATH "The the path to the cmake directory")
list(APPEND CMAKE_MODULE_PATH ${ETH_CMAKE_DIR})
# Set cmake_policies
include(EthPolicy)
eth_policy()
# project name and version should be set after cmake_policy CMP0048
set(PROJECT_VERSION "0.3.4")
project(solidity VERSION ${PROJECT_VERSION})
# Let's find our dependencies
include(EthDependencies)
# Figure out what compiler and system are we using
include(EthCompilerSettings)
# Include helper macros
include(EthExecutableHelper)
# Include utils
include(EthUtils)
include(EthOptions)
configure_project(TESTS)
add_subdirectory(libevmasm)
add_subdirectory(libsolidity)
add_subdirectory(solc)
if (NOT EMSCRIPTEN)
add_subdirectory(liblll)
add_subdirectory(lllc)
endif()
if (TESTS AND NOT EMSCRIPTEN)
add_subdirectory(test)
endif()
# TODO installation and packaging rules