Defines for Release|Debug build only in cef.gyp

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Defines for Release|Debug build only in cef.gyp

Postby achechik » Wed Jun 17, 2015 3:11 am

How to set precompiled defines in cef.gyp for Release or debug build only ?

I'm tried something like this :

'configurations': {
'Debug': {
'defines': [
'SOME_DEBUG_DEFINE',
],
'Release': {
'defines': [
'SOME_REL_DEFINE',
],
},
}

But it's not work.
achechik
Newbie
 
Posts: 2
Joined: Thu Apr 16, 2015 7:46 am

Re: Defines for Release|Debug build only in cef.gyp

Postby magreenblatt » Thu Jun 18, 2015 12:26 pm

Where did you put it? Here's an example that might work: https://code.google.com/p/chromium/code ... e:chromium
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 46 guests