solidity/test/CMakeLists.txt

10 lines
425 B
CMake
Raw Normal View History

2017-08-16 11:38:18 +00:00
file(GLOB_RECURSE sources "*.cpp")
list(REMOVE_ITEM sources "${CMAKE_CURRENT_SOURCE_DIR}/fuzzer.cpp")
file(GLOB_RECURSE headers "*.h")
2014-01-03 01:27:19 +00:00
2017-08-16 11:38:18 +00:00
add_executable(soltest ${sources} ${headers})
2017-09-16 02:50:16 +00:00
target_link_libraries(soltest PRIVATE libsolc solidity lll evmasm devcore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
2014-01-03 01:27:19 +00:00
2017-02-16 15:59:19 +00:00
add_executable(solfuzzer fuzzer.cpp)
2017-09-16 02:50:16 +00:00
target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES})