aboutsummaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
blob: f36ad4c532ebfb4e25a1e736ca088fed24c3a72f (plain) (blame)
1
2
3
4
5
6
7
8
9
file(GLOB_RECURSE sources "*.cpp")
list(REMOVE_ITEM sources "${CMAKE_CURRENT_SOURCE_DIR}/fuzzer.cpp")
file(GLOB_RECURSE headers "*.h")

add_executable(soltest ${sources} ${headers})
target_link_libraries(soltest PRIVATE libsolc solidity lll evmasm devcore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})

add_executable(solfuzzer fuzzer.cpp)
target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES})