Re: [CMake] Need help with COMPILE_DEFINITIONS_

2015-09-17 Thread Carl Poirier
I got a reply on the bug tracker. It's a normal and documented behavior. http://www.cmake.org/cmake/help/v3.3/prop_tgt/COMPILE_DEFINITIONS_CONFIG.html On Thu, Sep 17, 2015 at 10:14 AM, Carl Poirier wrote: > Hi guys, > > Thanks for the information. I opened a bug

Re: [CMake] Need help with COMPILE_DEFINITIONS_

2015-09-17 Thread Carl Poirier
Hi guys, Thanks for the information. I opened a bug ticket here . Carl On Mon, Sep 14, 2015 at 4:33 PM, Hendrik Sattler wrote: > > > Am 14. September 2015 22:25:00 MESZ, schrieb Pau Garcia i Quiles < > pgqui...@elpauer.org>:

Re: [CMake] Need help with COMPILE_DEFINITIONS_

2015-09-14 Thread Pau Garcia i Quiles
Hello, Have you tried set_property(TARGET ${PrjName0} PROPERTY COMPILE_DEFINITIONS_DEBUG -DATEST) ? On Mon, Sep 14, 2015 at 9:35 PM, Carl Poirier wrote: > Hi folks, > > I need some help setting the COMPILE_DEFINITIONS_. I'm using the > Visual Studio 2008

Re: [CMake] Need help with COMPILE_DEFINITIONS_

2015-09-14 Thread Hendrik Sattler
Am 14. September 2015 22:25:00 MESZ, schrieb Pau Garcia i Quiles : >Hello, > >Have you tried > >set_property(TARGET ${PrjName0} PROPERTY COMPILE_DEFINITIONS_DEBUG >-DATEST) That would be the right thing for add_definitions() but not here. He could try with generator

[CMake] Need help with COMPILE_DEFINITIONS_

2015-09-14 Thread Carl Poirier
Hi folks, I need some help setting the COMPILE_DEFINITIONS_. I'm using the Visual Studio 2008 generator. I use this command to do so which I took in the notes when the feature was added: set_property(TARGET ${PrjName0} PROPERTY