mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 17:28:14 +08:00
e6c105561a
* further improvement of graphics view: highly improved scene scaling and added scene drag with left mouse button pressed.
27 lines
552 B
CMake
27 lines
552 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
|
|
treemodel.h
|
|
treemodel.cpp
|
|
treeitem.h
|
|
treeitem.cpp
|
|
blocks_graphics_view.h
|
|
blocks_graphics_view.cpp
|
|
blocks_tree_widget.h
|
|
blocks_tree_widget.cpp
|
|
main_window.h
|
|
main_window.cpp
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME} Qt5::Widgets easy_profiler)
|