c++ - How to get full cxx -std= flag inside CMAKE? -


how can full option string "-std=..." after set(cmake_cxx_standard 17) ? string flag must obtained inside cmakelists.txt.

"$(cxx_flags)" (round brackets important) contains "-std=..." flag , expand inside makefile.


Comments