Is CMAKE_CXX_FLAGS_PROFILE deprecated in CMake? -


i maintaining old project, , find following statements in cmakelist.txt:

set (cmake_cxx_flags_profile "${cmake_cxx_flags} -pg")  set (cmake_exe_linker_flags_profile "${cmake_exe_linker_flags} -pg") 

but can't find these variable definitions in current cmake:

# cmake --help-variable-list | grep profile # 

my cmake version 3.7.2:

# cmake --version cmake version 3.7.2  cmake suite maintained , supported kitware (kitware.com/cmake). 

so cmake_cxx_flags_profile , cmake_exe_linker_flags_profile deprecated? if existed, function of them?

if talking makefile generators can do

cmake -dcmake_build_type=profile .. 

anyone can invent new configuration types in project in case seems have been done.

just hint: code simplified since flags anyway concatenated cmake_cxx_flags + cmake_cxx_flags_profile.

reference


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -