[Scons-users] how to use parhs properly
Mats Wichmann
mats at wichmann.us
Thu Jul 7 09:58:38 EDT 2022
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.
More information about the Scons-users
mailing list