solidity/test/tools/CMakeLists.txt

37 lines
1.3 KiB
CMake
Raw Normal View History

if (OSSFUZZ)
add_subdirectory(ossfuzz)
endif()
2018-02-06 09:57:16 +00:00
add_subdirectory(yulInterpreter)
2018-02-07 20:56:14 +00:00
add_executable(yulrun yulrun.cpp)
target_link_libraries(yulrun PRIVATE yulInterpreter libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES})
2018-02-06 09:57:16 +00:00
add_executable(solfuzzer afl_fuzzer.cpp fuzzer_common.cpp)
target_link_libraries(solfuzzer PRIVATE libsolc evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_SYSTEM_LIBRARIES})
2018-03-14 18:15:48 +00:00
2018-10-16 19:40:10 +00:00
add_executable(yulopti yulopti.cpp)
target_link_libraries(yulopti PRIVATE solidity ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_SYSTEM_LIBRARIES})
2018-12-05 11:02:49 +00:00
add_executable(isoltest
isoltest.cpp
IsolTestOptions.cpp
2018-12-05 11:02:49 +00:00
../Options.cpp
../Common.cpp
../TestCase.cpp
../libsolidity/util/TestFileParser.cpp
../libsolidity/util/TestFunctionCall.cpp
../libsolidity/GasTest.cpp
2018-12-05 11:02:49 +00:00
../libsolidity/SyntaxTest.cpp
../libsolidity/SemanticTest.cpp
2018-12-05 11:02:49 +00:00
../libsolidity/AnalysisFramework.cpp
../libsolidity/SolidityExecutionFramework.cpp
../ExecutionFramework.cpp
../RPCSession.cpp
../libsolidity/ASTJSONTest.cpp
../libsolidity/SMTCheckerJSONTest.cpp
../libyul/ObjectCompilerTest.cpp
../libyul/YulOptimizerTest.cpp
2018-02-08 17:20:54 +00:00
../libyul/YulInterpreterTest.cpp
2018-12-05 11:02:49 +00:00
)
2018-02-08 17:20:54 +00:00
target_link_libraries(isoltest PRIVATE libsolc solidity yulInterpreter evmasm ${Boost_PROGRAM_OPTIONS_LIBRARIES} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})