Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does CodeBlocks support variables defined as part of the workspace?

0
Posted

Does CodeBlocks support variables defined as part of the workspace?

0

From what I’ve seen so far I can define global variables (part of the application such as #wx) or project variables (compiler defines etc), but not ones that apply to all projects within a particular workspace. One reason for wanting this is that I have embedded applications that comprise the same set of projects, but are targeted at different platforms and it would be great to just be able to have a different workspace for each platform which does something equivalent to adding -DBUILDFORPLATFORMX to all the projects within the workspace.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123