solidity/tools/CMakeLists.txt

38 lines
1011 B
CMake
Raw Normal View History

include(GNUInstallDirs)
set(libphaser_sources
2020-03-02 09:19:44 +00:00
yulPhaser/Common.h
yulPhaser/Common.cpp
yulPhaser/AlgorithmRunner.h
yulPhaser/AlgorithmRunner.cpp
yulPhaser/Phaser.h
yulPhaser/Phaser.cpp
yulPhaser/GeneticAlgorithms.h
yulPhaser/GeneticAlgorithms.cpp
2020-01-17 06:45:10 +00:00
yulPhaser/Population.h
yulPhaser/Population.cpp
yulPhaser/FitnessMetrics.h
yulPhaser/FitnessMetrics.cpp
2020-01-17 06:41:03 +00:00
yulPhaser/Chromosome.h
yulPhaser/Chromosome.cpp
yulPhaser/Mutations.h
yulPhaser/Mutations.cpp
yulPhaser/PairSelections.h
yulPhaser/PairSelections.cpp
2020-02-05 13:56:55 +00:00
yulPhaser/Selections.h
yulPhaser/Selections.cpp
2020-02-26 18:28:58 +00:00
yulPhaser/ProgramCache.h
yulPhaser/ProgramCache.cpp
2020-01-17 06:34:18 +00:00
yulPhaser/Program.h
yulPhaser/Program.cpp
yulPhaser/SimulationRNG.h
yulPhaser/SimulationRNG.cpp
)
add_library(phaser ${libphaser_sources})
target_link_libraries(phaser PUBLIC solidity Boost::boost Boost::program_options)
add_executable(yul-phaser yulPhaser/main.cpp)
target_link_libraries(yul-phaser PRIVATE phaser)
install(TARGETS yul-phaser DESTINATION "${CMAKE_INSTALL_BINDIR}")