aboutsummaryrefslogblamecommitdiffstats
path: root/CMakeLists.txt
blob: 49de37e90f6a5c99f1454f0c09b5aa2a0aaa8bc9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                     
 
                                                                                                                         

                                               






                                                                   

                             
                        

                                                  

                            


                            

                 
 


                             

                                       
cmake_minimum_required(VERSION 3.0.0)

set(ETH_CMAKE_DIR   "${CMAKE_CURRENT_LIST_DIR}/../cpp-ethereum-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.1.0")
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)

add_subdirectory(libsolidity)
add_subdirectory(solc)
add_subdirectory(test)

# TODO installation and packaging rules