Remove boost::filesystem where it is not needed

A two uses in CommonIO remain for the compiler (plus testing/tools use it extensively)
This commit is contained in:
Alex Beregszaszi 2020-04-26 00:35:28 +01:00
parent 5a6c7ad65f
commit c31a93b3f2
6 changed files with 3 additions and 6 deletions

View File

@ -166,7 +166,7 @@ if (NOT (${Z3_FOUND} OR ${CVC4_FOUND}))
endif()
add_library(solidity ${sources} ${z3_SRCS} ${cvc4_SRCS})
target_link_libraries(solidity PUBLIC yul evmasm langutil solutil Boost::boost Boost::filesystem Boost::system)
target_link_libraries(solidity PUBLIC yul evmasm langutil solutil Boost::boost Boost::system)
if (${Z3_FOUND})
target_link_libraries(solidity PUBLIC z3::libz3)

View File

@ -21,7 +21,6 @@
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem/operations.hpp>
#include <array>
#include <fstream>

View File

@ -21,7 +21,6 @@
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem/operations.hpp>
#include <array>
#include <fstream>

View File

@ -24,7 +24,6 @@
#pragma once
#include <libsolutil/Common.h>
#include <boost/filesystem.hpp>
#include <sstream>
#include <string>

View File

@ -187,7 +187,7 @@ add_executable(soltest ${sources}
${libsolidity_util_sources}
${yul_phaser_sources}
)
target_link_libraries(soltest PRIVATE libsolc yul solidity yulInterpreter evmasm solutil Boost::boost Boost::program_options Boost::unit_test_framework evmc)
target_link_libraries(soltest PRIVATE libsolc yul solidity yulInterpreter evmasm solutil Boost::boost Boost::filesystem Boost::program_options Boost::unit_test_framework evmc)
# Special compilation flag for Visual Studio (version 2019 at least affected)

View File

@ -42,6 +42,6 @@ add_executable(yul-phaser
yulPhaser/SimulationRNG.h
yulPhaser/SimulationRNG.cpp
)
target_link_libraries(yul-phaser PRIVATE solidity Boost::program_options)
target_link_libraries(yul-phaser PRIVATE solidity Boost::filesystem Boost::program_options)
install(TARGETS yul-phaser DESTINATION "${CMAKE_INSTALL_BINDIR}")