0
votes

Is it possible to give conditional compilation as follows in flex?

applicationType::desktop || applicationType::web
{
   // common code for desktop & web
}

applicationType::desktop || applicationType::mobile
{
  //common code for desktop and mobile
}
1

1 Answers

0
votes

Basically, yes.

It depends on your usecase.

You can read more about conditional compiling in the Flex Docs