Board index » cppbuilder » global project defines

global project defines

Hi there,

how can I make global project #define for every file in project ?
Assume, I have two .bpr files for couple of .cpp and .h files and I need to
switch some jobs depending on each .bpr.

I need something like
    <USERDEFINES value="_DEBUG"/>

    <USERDEFINES value="_DEBUG MYDEFINE1 MYDEFINE2"/>

Kamil

 

Re:global project defines


Quote
"Kamil Poturnaj" <ka...@microstep-mis.com> writes:
> Hi there,

> how can I make global project #define for every file in project ?

In the IDE, go to Project | Options | Directories/Conditionals

and add your manifest constant there.

--
Chris(TeamB);

Other Threads