2015-04-24 15:35:16 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")
|
|
|
|
|
|
|
|
aux_source_directory(. SRC_LIST)
|
|
|
|
|
2016-08-10 11:17:18 +00:00
|
|
|
set(EXECUTABLE solevmasm)
|
2015-04-24 15:35:16 +00:00
|
|
|
|
|
|
|
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-10-20 09:58:25 +00:00
|
|
|
eth_use(${EXECUTABLE} REQUIRED Dev::soldevcore)
|
|
|
|
target_link_libraries(${EXECUTABLE} jsoncpp)
|
2015-04-24 15:35:16 +00:00
|
|
|
|
|
|
|
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
|