I have recently moved to apply and wanted to compile my project in C/C++. I am using visual studio code to compile and due to external libraries dependencies, I have some ld flags which is giving me error with Apple clang and gcc. The error is as follows
"ld: unknown options: -Map=xx.map". The command used in cmake is
"set(LINKER_FLAGS "-Wl,-Map=***.map")". Although I think it will give error with other flags as well