Re: [CMake] An example of DEFINE_SYMBOL please

2008-07-11 Thread Mike Jackson
On Jul 11, 2008, at 11:34 AM, Mehdi Rabah wrote: On Thu, Jul 10, 2008 at 12:43 PM, Yuri Timenkov <[EMAIL PROTECTED]> wrote: On Monday 07 July 2008 19:59:24 Mehdi Rabah wrote: > Hi, > > I need to set multiple symbols in one of my target of my project. I can't > use add_definitions beca

Re: [CMake] An example of DEFINE_SYMBOL please

2008-07-11 Thread Mehdi Rabah
On Thu, Jul 10, 2008 at 12:43 PM, Yuri Timenkov <[EMAIL PROTECTED]> wrote: > > > On Monday 07 July 2008 19:59:24 Mehdi Rabah wrote: > > Hi, > > > > I need to set multiple symbols in one of my target of my project. I can't > > use add_definitions because I don't want to define those variable for al

Re: [CMake] An example of DEFINE_SYMBOL please

2008-07-10 Thread Yuri Timenkov
On Monday 07 July 2008 19:59:24 Mehdi Rabah wrote: > Hi, > > I need to set multiple symbols in one of my target of my project. I can't > use add_definitions because I don't want to define those variable for all > my targets, so I tried custom properties. > > set_target_properties( target PROPERTI

Re: [CMake] An example of DEFINE_SYMBOL please

2008-07-07 Thread Mike Jackson
supposedly you can do ADD_DEFINITIONS(...) ADD_LIBRARY(...) REMOVE_DEFINITIONS(...) which might work. -- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Jul 7, 2008, at 12:09 PM, Yuri Timenkov wrote: On Monday 07 July 2008 19:59:24 Mehdi Rabah wrot

Re: [CMake] An example of DEFINE_SYMBOL please

2008-07-07 Thread Yuri Timenkov
On Monday 07 July 2008 19:59:24 Mehdi Rabah wrote: > Hi, > > I need to set multiple symbols in one of my target of my project. I can't > use add_definitions because I don't want to define those variable for all > my targets, so I tried custom properties. > > set_target_properties( target PROPERTI

[CMake] An example of DEFINE_SYMBOL please

2008-07-07 Thread Mehdi Rabah
Hi, I need to set multiple symbols in one of my target of my project. I can't use add_definitions because I don't want to define those variable for all my targets, so I tried custom properties. set_target_properties( target PROPERTIES DEFINE_SYMBOL VALUE1 VALUE2 ) doesn't work : the function doe