
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
12 lines
232 B
CMake
12 lines
232 B
CMake
set(SOURCES
|
|
AST.cpp
|
|
Lexer.cpp
|
|
Parser.cpp
|
|
Preprocessor.cpp
|
|
SemanticSyntaxHighlighter.cpp
|
|
SyntaxHighlighter.cpp
|
|
Token.cpp
|
|
)
|
|
|
|
serenity_lib(LibCpp cpp)
|
|
target_link_libraries(LibCpp PRIVATE LibSyntax LibDiff)
|