mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 01:04:41 +08:00
55cd5a5751
(profiler Reader) Added self_duration field for statistics; (profiler Reader) Removed #ifdef macros; (profiler Reader) moved BlocksTree, BlocksTreeRoot and thread_blocks_tree_t types inside profiler namespace; (profiler GUI) Added globals.h and globals.cpp containing global variables and signals; Added profiler_gui namespace; (ProfTreeWidget) Added context menu "Select columns" to make it possible to hide columns; (ProfTreeWidget) Added percent statistics for blocks (Self %, Parent % and Frame %); Added displaying of total thread duration; (ProfGraphicsScrollbar) Added context menu to make it possible to choose which thread to display on minimap; (ProfGraphicsView) Highlighting currently selected thread;
31 lines
634 B
CMake
31 lines
634 B
CMake
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
|
|
|
|
project(profiler_gui)
|
|
|
|
#set(CMAKE_PREFIX_PATH f:/qt/5.5/5.6/msvc2013_64/lib/cmake)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
find_package(Qt5Widgets REQUIRED)
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
main.cpp
|
|
blocks_graphics_view.h
|
|
blocks_graphics_view.cpp
|
|
blocks_tree_widget.h
|
|
blocks_tree_widget.cpp
|
|
globals.h
|
|
globals.cpp
|
|
graphics_scrollbar.h
|
|
graphics_scrollbar.cpp
|
|
main_window.h
|
|
main_window.cpp
|
|
treemodel.h
|
|
treemodel.cpp
|
|
treeitem.h
|
|
treeitem.cpp
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME} Qt5::Widgets easy_profiler)
|