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
Post a Comment