I am maintaining an old project, and 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 I can't find these variable definitions in my current cmake:
# cmake --help-variable-list | grep PROFILE
#
My cmake version is 3.7.2:
# cmake --version
cmake version 3.7.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
So are CMAKE_CXX_FLAGS_PROFILE and CMAKE_EXE_LINKER_FLAGS_PROFILE deprecated? If they existed, what is the function of them?