Re: [CMake] Compile flags for a single file

2011-04-18 Thread The Novice Coder
On Mon, 18 Apr 2011 21:52:31 +0200, Alexander Neundorf wrote: On Monday 18 April 2011, The Novice Coder wrote: I've been trying most things I can think of, but have been unable to come up with a solution.. the basic gist is I need to change the compile flags for a SINGLE file within a projec

Re: [CMake] Compile flags for a single file

2011-04-18 Thread Alexander Neundorf
On Monday 18 April 2011, The Novice Coder wrote: > I've been trying most things I can think of, but have been unable to > come up with a solution.. the basic gist is I need to change the compile > flags for a SINGLE file within a project. Specifically, disabling all > compile warnings for that

[CMake] Compile flags for a single file

2011-04-18 Thread The Novice Coder
I've been trying most things I can think of, but have been unable to come up with a solution.. the basic gist is I need to change the compile flags for a SINGLE file within a project. Specifically, disabling all compile warnings for that file. add_definitions() seems to effect the whole projec