mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
3d4b0f45da
* Refactors output format in a way it is (or should at least be) more readable. (NB.: As source of inspiration, I chose the rustc compiler output.) * Adds color support to the stream output. * Also improves multiline source formatting (i.e. truncating too long lines, like done with single lines already) * solc: adds flags --color (force terminal colors) and --no-color (disable autodetection) * solc: adds --new-reporter to give output in *new* formatting (colored or not) * Changelog adapted accordingly.
28 lines
586 B
CMake
28 lines
586 B
CMake
# Solidity Commons Library (Solidity related sharing bits between libsolidity and libyul)
|
|
set(sources
|
|
CharStream.cpp
|
|
CharStream.h
|
|
ErrorReporter.cpp
|
|
ErrorReporter.h
|
|
EVMVersion.h
|
|
Exceptions.cpp
|
|
Exceptions.h
|
|
ParserBase.cpp
|
|
ParserBase.h
|
|
Scanner.cpp
|
|
Scanner.h
|
|
SourceLocation.h
|
|
SourceReferenceExtractor.cpp
|
|
SourceReferenceExtractor.h
|
|
SourceReferenceFormatter.cpp
|
|
SourceReferenceFormatter.h
|
|
SourceReferenceFormatterHuman.cpp
|
|
SourceReferenceFormatterHuman.h
|
|
Token.cpp
|
|
Token.h
|
|
UndefMacros.h
|
|
)
|
|
|
|
add_library(langutil ${sources})
|
|
target_link_libraries(langutil PUBLIC devcore)
|