2019-12-09 16:01:31 +00:00
|
|
|
add_executable(solidity-upgrade
|
|
|
|
solidityUpgrade/main.cpp
|
|
|
|
solidityUpgrade/UpgradeChange.h
|
|
|
|
solidityUpgrade/UpgradeChange.cpp
|
|
|
|
solidityUpgrade/UpgradeSuite.h
|
|
|
|
solidityUpgrade/Upgrade050.cpp
|
|
|
|
solidityUpgrade/Upgrade060.cpp
|
2020-04-22 16:26:59 +00:00
|
|
|
solidityUpgrade/Upgrade070.cpp
|
2019-12-09 16:01:31 +00:00
|
|
|
solidityUpgrade/SourceTransform.h
|
|
|
|
solidityUpgrade/SourceUpgrade.cpp
|
|
|
|
)
|
|
|
|
target_link_libraries(solidity-upgrade PRIVATE solidity Boost::boost Boost::program_options Boost::system)
|
|
|
|
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
install(TARGETS solidity-upgrade DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
2020-01-17 06:19:05 +00:00
|
|
|
|
2021-06-22 15:42:44 +00:00
|
|
|
set(libphaser_sources
|
2020-03-02 09:19:44 +00:00
|
|
|
yulPhaser/Common.h
|
2020-02-21 23:48:35 +00:00
|
|
|
yulPhaser/Common.cpp
|
2020-02-21 15:10:07 +00:00
|
|
|
yulPhaser/AlgorithmRunner.h
|
|
|
|
yulPhaser/AlgorithmRunner.cpp
|
2020-02-21 14:55:02 +00:00
|
|
|
yulPhaser/Phaser.h
|
|
|
|
yulPhaser/Phaser.cpp
|
2020-02-05 13:56:55 +00:00
|
|
|
yulPhaser/GeneticAlgorithms.h
|
|
|
|
yulPhaser/GeneticAlgorithms.cpp
|
2020-01-17 06:45:10 +00:00
|
|
|
yulPhaser/Population.h
|
|
|
|
yulPhaser/Population.cpp
|
2020-02-05 13:56:55 +00:00
|
|
|
yulPhaser/FitnessMetrics.h
|
|
|
|
yulPhaser/FitnessMetrics.cpp
|
2020-01-17 06:41:03 +00:00
|
|
|
yulPhaser/Chromosome.h
|
|
|
|
yulPhaser/Chromosome.cpp
|
2020-02-05 13:42:38 +00:00
|
|
|
yulPhaser/Mutations.h
|
|
|
|
yulPhaser/Mutations.cpp
|
2020-02-05 13:56:55 +00:00
|
|
|
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
|
2020-02-15 02:03:22 +00:00
|
|
|
yulPhaser/SimulationRNG.h
|
|
|
|
yulPhaser/SimulationRNG.cpp
|
2020-01-17 06:19:05 +00:00
|
|
|
)
|
2021-06-22 15:42:44 +00:00
|
|
|
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)
|
2020-01-17 06:19:05 +00:00
|
|
|
|
|
|
|
install(TARGETS yul-phaser DESTINATION "${CMAKE_INSTALL_BINDIR}")
|