Page 1 of 1

Build x86 and x64 in the same directory?

PostPosted: Mon Jun 05, 2017 7:30 am
by cristianamarie
I have asked this some time ago (read: 1-2 years) and it was, as expected, not possible.
Now I see the scripts cef_create_projects script generates all targets in out/ directory (Debug|Release_GN_x86|x64).

I wonder if this is now possible, or I still have to resort to dual directory (one for x86 one for x64).

Re: Build x86 and x64 in the same directory?

PostPosted: Mon Jun 05, 2017 8:10 am
by magreenblatt
You can use the same CEF/Chromium checkout but separate build output directories.

Re: Build x86 and x64 in the same directory?

PostPosted: Mon Jun 05, 2017 8:40 am
by cristianamarie
Just to be 100% sure:
ninja -C out\Release_GN_x64
ninja -C out\Release_GN_x86
means different output directories?

Or should I do something like
ninja -C out_x64\Release_GN_x64
ninja -C out_x86\Release_GN_x86
(out directory should be entirely different) ?

Re: Build x86 and x64 in the same directory?

PostPosted: Mon Jun 05, 2017 8:52 am
by magreenblatt
cristianamarie wrote:Just to be 100% sure:
ninja -C out\Release_GN_x64
ninja -C out\Release_GN_x86
means different output directories?

Correct.