solidity/liblangutil/CMakeLists.txt
2022-09-27 23:35:32 +02:00

34 lines
697 B
CMake

# Solidity Commons Library (Solidity related sharing bits between libsolidity and libyul)
set(sources
Common.h
CharStream.cpp
CharStream.h
DebugInfoSelection.cpp
DebugInfoSelection.h
ErrorReporter.cpp
ErrorReporter.h
EVMVersion.h
EVMVersion.cpp
Exceptions.cpp
Exceptions.h
ParserBase.cpp
ParserBase.h
Scanner.cpp
Scanner.h
CharStreamProvider.h
SemVerHandler.cpp
SemVerHandler.h
SourceLocation.h
SourceLocation.cpp
SourceReferenceExtractor.cpp
SourceReferenceExtractor.h
SourceReferenceFormatter.cpp
SourceReferenceFormatter.h
Token.cpp
Token.h
UniqueErrorReporter.h
)
add_library(langutil ${sources})
target_link_libraries(langutil PUBLIC solutil fmt::fmt-header-only)