
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.
20 lines
456 B
CMake
20 lines
456 B
CMake
set(SOURCES
|
|
CppComprehensionEngine.cpp
|
|
)
|
|
|
|
serenity_lib(LibCppComprehension cppcomprehension)
|
|
target_link_libraries(LibCppComprehension PRIVATE LibCodeComprehension)
|
|
|
|
serenity_component(
|
|
CppComprehensionTests
|
|
TARGETS CppComprehensionTests
|
|
)
|
|
|
|
set(SOURCES
|
|
CppComprehensionEngine.cpp
|
|
Tests.cpp
|
|
)
|
|
|
|
serenity_bin(CppComprehensionTests)
|
|
|
|
target_link_libraries(CppComprehensionTests PRIVATE LibCodeComprehension LibCore LibCpp LibRegex LibMain)
|