mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +00:00

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.
27 lines
661 B
CMake
27 lines
661 B
CMake
serenity_component(
|
|
Profiler
|
|
RECOMMENDED
|
|
TARGETS Profiler
|
|
)
|
|
|
|
set(SOURCES
|
|
DisassemblyModel.cpp
|
|
main.cpp
|
|
IndividualSampleModel.cpp
|
|
FlameGraphView.cpp
|
|
FilesystemEventModel.cpp
|
|
Gradient.cpp
|
|
Process.cpp
|
|
Profile.cpp
|
|
ProfileModel.cpp
|
|
SamplesModel.cpp
|
|
SignpostsModel.cpp
|
|
SourceModel.cpp
|
|
TimelineContainer.cpp
|
|
TimelineHeader.cpp
|
|
TimelineTrack.cpp
|
|
TimelineView.cpp
|
|
)
|
|
|
|
serenity_app(Profiler ICON app-profiler)
|
|
target_link_libraries(Profiler PRIVATE LibCore LibDebug LibGfx LibGUI LibDesktop LibX86 LibSymbolication LibMain)
|