Re: Conditional statements in DIR files

From: Oleg (ov_at_KARO-electronics.de)
Date: 10/29/04


Date: Fri, 29 Oct 2004 16:27:48 +0200

MS Windows CE 5.0. Please note that I want to use
my own environment variables and not predefined
WinCE variables, like ce_modules_xxx or something like this.
I would like to set several variables in my BSP CEC file
to indicate that specified BSP features are added to OS design.

eg.
Variable( "BSP_SOME_OS_FEATURE_PRESENT", "1")

And then make conditional build using DIRS file

eg.

DIRS=\
   SomeDir1\
   SomeDir2\
   IF BSP_SOME_OS_FEATURE_PRESENT == 1
   SomeFeatureSrcFolder\
   ENDIF
   SomeDir3\
   SomeDir4\

So, is it possible?

Many thanks, Oleg.

"Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
news:OCqu67bvEHA.1296@TK2MSFTNGP10.phx.gbl...
> what OS version?
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>