[GD-Windows] Resource conditions in Visual Studio
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2001-11-18 03:23:46
|
I have some dialog boxes that are only required in the demo build of one of our games (registration). According to the (thin) docs, I can set a "Condition" for resources to be included in the final EXE. Simple enough. Their example lists "NDEBUG" as a sample. Okay, so I give it a shot. No go, it's not included. I have a compiler constant TEST_BUILD defined in the project settings. Then I set the "Condition" property for a dialog to "TEST_BUILD". It no likey, doesn't include it. You can't put in comparisons either, e.g. "TEST_BUILD==1" is a syntax error. Any ideas what kind of mystical kung fu is required to make this work? Brian |