solidity/liblll/CMakeLists.txt

24 lines
633 B
CMake
Raw Normal View History

cmake_policy(SET CMP0015 NEW)
2014-12-04 08:55:54 +00:00
set(CMAKE_AUTOMOC OFF)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")
aux_source_directory(. SRC_LIST)
2015-08-27 10:19:33 +00:00
#include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
#include_directories(${Boost_INCLUDE_DIRS})
set(EXECUTABLE lll)
2014-10-16 13:10:54 +00:00
file(GLOB HEADERS "*.h")
2014-12-11 14:06:11 +00:00
2016-03-22 12:05:27 +00:00
include_directories(BEFORE ..)
2015-04-22 09:30:33 +00:00
add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
2016-03-23 22:10:10 +00:00
eth_use(${EXECUTABLE} REQUIRED Solidity::evmasm)
2015-08-27 10:19:33 +00:00
#target_link_libraries(${EXECUTABLE} evmasm)
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )