How to add C++ module to src/net/http

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.

How to add C++ module to src/net/http

Postby user6294 » Mon Jul 27, 2020 6:51 pm

Hi

How to I add an additional C++ module to src/net/http. It will be based on

http_network_transaction.h
http_network_transaction.cc

e.g.

my_http_network_transaction.h
my_http_network_transaction.cc

Do I just edit "src/net/BUILD.gn" and then do a "ninja -C out\Debug_GN_x64 cef" build

Thanks
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm

Re: How to add C++ module to src/net/http

Postby magreenblatt » Mon Jul 27, 2020 7:03 pm

You would need to edit the BUILD.gn file and then run cef_create_projects before building with ninja.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: How to add C++ module to src/net/http

Postby user6294 » Mon Jul 27, 2020 7:22 pm

great thanks !
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 35 guests