We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f10f2 commit c753402Copy full SHA for c753402
CMakeLists.txt
@@ -53,6 +53,10 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
53
endif()
54
55
include(GoogleBenchmark)
56
+if(flamegraph)
57
+ include(FlameGraph)
58
+ add_custom_target(flamegraph-download DEPENDS FlameGraph)
59
+endif()
60
61
#---Add ROOT include direcories and used compilation flags
62
include_directories(${ROOT_INCLUDE_DIRS})
cmake/modules/FlameGraph.cmake
@@ -0,0 +1,11 @@
1
+include(ExternalProject)
2
+
3
+ExternalProject_Add(FlameGraph
4
+ GIT_REPOSITORY "https://github.com/brendangregg/FlameGraph.git"
5
+ UPDATE_COMMAND ""
6
+ PATCH_COMMAND ""
7
+ CONFIGURE_COMMAND ""
8
+ BUILD_COMMAND ""
9
+ INSTALL_COMMAND ""
10
+ EXCLUDE_FROM_ALL 1
11
+)
0 commit comments