I would like to run a custom command on CMake with the same flags it passes the C++ compiler and linker. Is that possible?
I tried using get_target_property()
with various properties but nothing I found provided the full set of flags.
I would like to run a custom command on CMake with the same flags it passes the C++ compiler and linker. Is that possible?
I tried using get_target_property()
with various properties but nothing I found provided the full set of flags.