mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6930 from ethereum/msvc-SolidityEnd2EndTest-BigObj
Fixes compilation on Visual Studio 2019
This commit is contained in:
commit
668972bb4e
@ -32,6 +32,14 @@ add_executable(soltest ${sources} ${headers}
|
||||
)
|
||||
target_link_libraries(soltest PRIVATE libsolc yul solidity yulInterpreter evmasm devcore Boost::boost Boost::program_options Boost::unit_test_framework)
|
||||
|
||||
# Special compilation flag for Visual Studio (version 2019 at least affected)
|
||||
# in order to compile SolidityEndToEndTest.cpp, which is quite huge.
|
||||
# We can remove this flag once we've extracted the tests.
|
||||
# TODO: Remove this option as soon as we have reduced the SLoC's in SolidityEndToEndTest.cpp
|
||||
if (MSVC)
|
||||
target_compile_options(soltest PUBLIC "/bigobj")
|
||||
endif()
|
||||
|
||||
if (LLL)
|
||||
target_link_libraries(soltest PRIVATE lll)
|
||||
target_compile_definitions(soltest PRIVATE HAVE_LLL=1)
|
||||
|
Loading…
Reference in New Issue
Block a user