mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
c31a93b3f2
A two uses in CommonIO remain for the compiler (plus testing/tools use it extensively)
48 lines
1.4 KiB
CMake
48 lines
1.4 KiB
CMake
add_executable(solidity-upgrade
|
|
solidityUpgrade/main.cpp
|
|
solidityUpgrade/UpgradeChange.h
|
|
solidityUpgrade/UpgradeChange.cpp
|
|
solidityUpgrade/UpgradeSuite.h
|
|
solidityUpgrade/Upgrade050.cpp
|
|
solidityUpgrade/Upgrade060.cpp
|
|
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}")
|
|
|
|
add_executable(yul-phaser
|
|
yulPhaser/main.cpp
|
|
yulPhaser/Common.h
|
|
yulPhaser/Common.cpp
|
|
yulPhaser/AlgorithmRunner.h
|
|
yulPhaser/AlgorithmRunner.cpp
|
|
yulPhaser/Phaser.h
|
|
yulPhaser/Phaser.cpp
|
|
yulPhaser/GeneticAlgorithms.h
|
|
yulPhaser/GeneticAlgorithms.cpp
|
|
yulPhaser/Population.h
|
|
yulPhaser/Population.cpp
|
|
yulPhaser/FitnessMetrics.h
|
|
yulPhaser/FitnessMetrics.cpp
|
|
yulPhaser/Chromosome.h
|
|
yulPhaser/Chromosome.cpp
|
|
yulPhaser/Mutations.h
|
|
yulPhaser/Mutations.cpp
|
|
yulPhaser/PairSelections.h
|
|
yulPhaser/PairSelections.cpp
|
|
yulPhaser/Selections.h
|
|
yulPhaser/Selections.cpp
|
|
yulPhaser/ProgramCache.h
|
|
yulPhaser/ProgramCache.cpp
|
|
yulPhaser/Program.h
|
|
yulPhaser/Program.cpp
|
|
yulPhaser/SimulationRNG.h
|
|
yulPhaser/SimulationRNG.cpp
|
|
)
|
|
target_link_libraries(yul-phaser PRIVATE solidity Boost::filesystem Boost::program_options)
|
|
|
|
install(TARGETS yul-phaser DESTINATION "${CMAKE_INSTALL_BINDIR}")
|