Quite a few flags are set by default in the main CMakeLists.txt. I guess I can preface this issue by asking if multiple compilers are meant to be supported?
If so, then equivalent flags for other compilers (i.e. MSVC) need to be used instead of the ones currently being set. For example, MSVC does not support the -Wpendantic flag and setting this actually results in a compilation error.
Quite a few flags are set by default in the main
CMakeLists.txt
. I guess I can preface this issue by asking if multiple compilers are meant to be supported?If so, then equivalent flags for other compilers (i.e. MSVC) need to be used instead of the ones currently being set. For example, MSVC does not support the
-Wpendantic
flag and setting this actually results in a compilation error.Would something like this work?