Skip to content
Snippets Groups Projects
Commit 037816cc authored by Campbell Barton's avatar Campbell Barton
Browse files

Add profile option

parent c116d9a4
Branches
Tags
No related merge requests found
......@@ -183,6 +183,13 @@ PRESETS = {
"CMAKE_C_FLAGS": (("-flto",), ()),
"CMAKE_EXE_LINKER_FLAGS": (("-flto", "-fwhole-program",), ()),
},
# Profile
"profile_gprof": {
"CMAKE_CXX_FLAGS": (("-pg",), ()),
"CMAKE_C_FLAGS": (("-pg",), ()),
"CMAKE_EXE_LINKER_FLAGS": (("-pg",), ()),
},
}
# ----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment