On Thu, 28 Jun 2018 at 15:19, Jason Heeris wrote:
> 1. How do I clear default compiler flags for the Visual Studio generator?
I would strongly prefer a solution that can apply to specific targets, but
if not, so be it.
I have created an issue about this on Gitlab:
On Thu., 28 Jun. 2018, 8:45 pm Innokentiy Alaytsev,
wrote:
> Are you setting CMAKE_<...> variables before creating you targets of after
> that?
>
I used the technique in that Stackoverflow link to print and override them
before anything else happens in the project. They are still empty
Jason Heeris wrote
> On Thu., 28 Jun. 2018, 6:07 pm Innokentiy Alaytsev,
> alaitsev@
>
> wrote:
>> These flags are visible in cmake-gui
>> if you set (I don't know/remember the right word) the Advanced combo box
>> (setting Grouped will dramatically improve readability).
>
> So after sending
On Thu., 28 Jun. 2018, 6:07 pm Innokentiy Alaytsev,
wrote:
> These flags are visible in cmake-gui
> if you set (I don't know/remember the right word) the Advanced combo box
> (setting Grouped will dramatically improve readability).
So after sending my last email I actually tried that; not only
Hello!
Jason Heeris wrote
> I'm not 100% that the latter is relevant, because I think the "_DEBUG"
> affects the build *type* (a Makefile generator thing) and not the build
> *configuration* (a VS thing).
AFAIK, the CMAKE_C[XX]_FLAGS_ work for all generators, so if you are
using MSVS they will
I'm using CMake (3.12 currently) in Windows 10 to build a DLL to be
compatible with what an existing program expects. To this end, I need
near-total control over the compiler and linker flags used to generate that
DLL.
I created a very simple project, with a single compilation unit, main.c,