I want to use the preprocessor directive #ifdef inside the app.cfg file, but learned that it doesn’t work.
Is there any other way to conditionally include certain configuration?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to use the preprocessor directive #ifdef inside the app.cfg file, but learned that it doesn’t work.
Is there any other way to conditionally include certain configuration?
CFG scripts are JavaScript scripts with some additional functionality. You can use standard JavaScript if-else statements. What are the conditions for your ifdef directives?