[yul-phaser] An empty command-line application for the new tool

This commit is contained in:
cameel 2020-01-17 07:19:05 +01:00
parent bd54176c1a
commit e7d204383d
2 changed files with 27 additions and 0 deletions

View File

@ -12,3 +12,9 @@ target_link_libraries(solidity-upgrade PRIVATE solidity Boost::boost Boost::prog
include(GNUInstallDirs)
install(TARGETS solidity-upgrade DESTINATION "${CMAKE_INSTALL_BINDIR}")
add_executable(yul-phaser
yulPhaser/main.cpp
)
install(TARGETS yul-phaser DESTINATION "${CMAKE_INSTALL_BINDIR}")

21
tools/yulPhaser/main.cpp Normal file
View File

@ -0,0 +1,21 @@
/*
This file is part of solidity.
solidity is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
solidity is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with solidity. If not, see <http://www.gnu.org/licenses/>.
*/
int main([[maybe_unused]] int argc, [[maybe_unused]] char** argv)
{
return 0;
}