fileapi: Flags from CMAKE_C_COMPILER_TARGET not reported
I noticed that CLion was highlighting my code with incorrect defines (ignoring cross-compilation): https://youtrack.jetbrains.com/issue/CPP-21358. It appears that the --target= flag (set using CMAKE_C_COMPILER_TARGET/CMAKE_CXX_COMPILER_TARGET) is not included in the compiler flags in the codemodel file-api reponses.
Would it be possible to report the value of these variables so that CLion can determine the full compile command? Not sure if a new entry similar to "sysroot" or a "--target=" compilar argument would be better.