Re: [CMake] /W1 and resource.rc files

2018-05-14 Thread Gonzalo Garramuño
El 13/05/2018 a las 21:24, Gonzalo Garramuño escribió: I am running into trouble specifying the /W1 flag in add_definitions. This was my problem.  I should have been using add_compile_options. -- Gonzalo Garramuño -- Powered by www.kitware.com Please keep messages on-topic and check the

[CMake] /W1 and resource.rc files

2018-05-13 Thread Gonzalo Garramuño
I have a VC++ project which compiles with ninja.  I add all the sources and a rc file into a single executable by placing them in a variable. I am running into trouble specifying the /W1 flag in add_definitions. The flag gets passed onto RC and it fails its compilation. Also, I get warnings of:

[CMake] /W1 and resource.rc files

2018-05-13 Thread Gonzalo Garramuño
I have a VC++ project which compiles with ninja.  I add all the sources and a rc file into a single executable by placing them in a variable. I am running into trouble specifying the /W1 flag in add_definitions. The flag gets passed onto RC and it fails its compilation. Also, I get warnings of: