Never mind I deleted my build directory manually and it worked.
Thank you very much :)
On May 18, 2011, at 1:18 PM, Hank Heijink (Mailinglists) wrote:
> Try #ifdef instead of #if.
>
> On May 18, 2011, at 4:09 PM, Development wrote:
>
>> I have a version of an application that I want to contai
On May 18, 2011, at 1:09 PM, Development wrote:
> I have a version of an application that I want to contain different code
> based on the builded target.
> for instance I have a lite version. After defining the ISFREE value in the
> preprocessor macros... I tried using:
>
> #if ISFREE
>
>
I've actually tried both... strangest part even if I choose #ifndef i get
nothing
On May 18, 2011, at 1:18 PM, Hank Heijink (Mailinglists) wrote:
> Try #ifdef instead of #if.
>
> On May 18, 2011, at 4:09 PM, Development wrote:
>
>> I have a version of an application that I want to contain di
What you are trying to do is perfectly fine to create a free vs non-free
version of your app.
The sticking point is how are you defining ISFREE???
The #if takes an expression which is evaluated to see if it is true
(non-zero) or false (zero).
Did you define ISFREE to be a non-zero numeric value??
Try #ifdef instead of #if.
On May 18, 2011, at 4:09 PM, Development wrote:
> I have a version of an application that I want to contain different code
> based on the builded target.
> for instance I have a lite version. After defining the ISFREE value in the
> preprocessor macros... I tried usin