mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 16:11:02 +08:00
Merge pull request #94 from devnoname120/cmake-no-gui
Add a EASY_PROFILER_NO_GUI option
This commit is contained in:
commit
b72b3e5c67
@ -3,6 +3,8 @@ project(easy_profiler CXX)
|
||||
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
|
||||
option(EASY_PROFILER_NO_GUI "Build easy_profiler without the GUI application (required Qt)" OFF)
|
||||
|
||||
set(EASY_PROGRAM_VERSION_MAJOR 1)
|
||||
set(EASY_PROGRAM_VERSION_MINOR 3)
|
||||
set(EASY_PROGRAM_VERSION_PATCH 0)
|
||||
@ -26,7 +28,9 @@ endmacro()
|
||||
SET(CMAKE_INSTALL_RPATH "$ORIGIN")
|
||||
|
||||
add_subdirectory(easy_profiler_core)
|
||||
add_subdirectory(profiler_gui)
|
||||
if (NOT EASY_PROFILER_NO_GUI)
|
||||
add_subdirectory(profiler_gui)
|
||||
endif()
|
||||
add_subdirectory(easy_profiler_converter)
|
||||
|
||||
if (NOT EASY_PROFILER_NO_SAMPLES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user