# Projucer Preprocessor definitions config-wise

**URL:** <https://forum.juce.com/t/projucer-preprocessor-definitions-config-wise/66859>\
**Category:** The Projucer\
**Created:** [August 14, 2025, 9:13am UTC](https://forum.juce.com/t/projucer-preprocessor-definitions-config-wise/66859 "2025-08-14T09:13:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![r0d](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@r0d](https://forum.juce.com/u/r0d)\
**Post date:** [August 14, 2025, 9:13am UTC](https://forum.juce.com/t/projucer-preprocessor-definitions-config-wise/66859/1 "2025-08-14T09:13:54Z")

</div>

Hello,  
I’m having a big difficulty getting specific values of preprocessor definitions, depending on the configuration chosen.  
I’ve seen that XCode recognises the value 0 for POPO if I write POPO=0 in the XCode exporter section, under “Extra Preprocessor definitions”.  
But if I additionally write POPO=1 in the Release config for XCode under “Preprocessor definitions”, and go for the Release scheme in XCode, POPO is still set to 0.  
Then if I try to set it directly from the Release config, without defining POPO in the general exporter section, I’ve got POPO not defined once in XCode.

---

<div class="post-metadata">

**Author:** ![QuilioLtd](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/quilioltd/32/15459_2.png) [@QuilioLtd](https://forum.juce.com/u/QuilioLtd)\
**Post date:** [August 15, 2025, 4:45pm UTC](https://forum.juce.com/t/projucer-preprocessor-definitions-config-wise/66859/2 "2025-08-15T16:45:48Z")

</div>

You can define them once in the global settings

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/5/e/5e974e8cb72b56f4c37222fe9e5e0a729b738101.png)

I think they are overridden by the config specific settings you use.

Hope this clears things up.

---

<div class="post-metadata">

**Author:** ![r0d](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@r0d](https://forum.juce.com/u/r0d)\
**Post date:** [August 15, 2025, 9:54pm UTC](https://forum.juce.com/t/projucer-preprocessor-definitions-config-wise/66859/3 "2025-08-15T21:54:14Z")

</div>

The point I was making is that precisely, they are not overriden by the config specific settings. (“POPO is still set to 0”).

---

<div class="post-metadata">

**Author:** ![ibisum](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ibisum/32/21288_2.png) [@ibisum](https://forum.juce.com/u/ibisum)\
**Post date:** [August 18, 2025, 9:25am UTC](https://forum.juce.com/t/projucer-preprocessor-definitions-config-wise/66859/4 "2025-08-18T09:25:24Z")

</div>

Dumb question: did you re-generate the build files in Projucer before opening them again in XCode?
