solidity/libevmasm/CMakeLists.txt

16 lines
445 B
CMake
Raw Normal View History

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")
aux_source_directory(. SRC_LIST)
set(EXECUTABLE evmasm)
file(GLOB HEADERS "*.h")
2016-03-22 12:05:27 +00:00
include_directories(BEFORE ..)
2015-08-27 10:19:33 +00:00
add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
2016-08-08 10:26:07 +00:00
eth_use(${EXECUTABLE} REQUIRED Jsoncpp Dev::soldevcore)
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )