Re: how to use parhs properly
Mats Wichmann <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <[email protected]> |
On 7/4/22 11:55, daggs wrote: > my invocation is SConscript(folder + '/SConscript', variant_dir = mode + "/" + folder, duplicate = 0, exports = 'src_env mode') > it is issued from the SConscript file under src > > my CPPPATH is as follows: > CPPPATH = [ os.getcwd(), os.getcwd() + "/hdr", os.getcwd() + "/3rdparty", os.getcwd() + "/3rdparty/include" ] > > Dagg You shouldn't need this kind of dance, just the base names, ike CPPPATH = ['.', 'hdr', '3rdparty', '3rdparty/include'] and SCons should suitably relocate those with the way you're using variantdir. but of course the devil is in the details, we're not seeing the whole build.