Automating a dynamically linked build

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.

Automating a dynamically linked build

Postby tmills » Wed Feb 26, 2014 6:02 pm

We use CEF3 via a dynamically linked library (/MD) and I'd like to get an automated build process setup. Is there an easy way to setup automate.py to make the required modifications? I've accomplished this manually by running the script, letting it build once, and then going in and modifying the appropriate ninja files and re-running the ninja build. I'm hoping there's an easier way to do this via a commandline or config file that I've missed.
tmills
Techie
 
Posts: 17
Joined: Thu Jul 11, 2013 4:37 pm

Re: Automating a dynamically linked build

Postby magreenblatt » Thu Feb 27, 2014 4:57 am

Do you mean an /MD version of libcef_dll_wrapper? If so, you can set 'multi_threaded_dll' in your gyp configuration when creating the binary distribution. See https://code.google.com/p/chromiumembed ... ail?id=970
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Automating a dynamically linked build

Postby tmills » Mon Apr 14, 2014 9:37 am

That's exactly what I'm shooting for, but I can't figure out how to do that when using automate.py
tmills
Techie
 
Posts: 17
Joined: Thu Jul 11, 2013 4:37 pm

Re: Automating a dynamically linked build

Postby magreenblatt » Mon Apr 14, 2014 10:12 am

The Setup section http://www.chromium.org/developers/how-tos/component-build explains how to set GYP variables. You can also set the GYP_DEFINES environment variable.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: delta42 and 61 guests