Reputation: 157
My folder structure is:
\gitclone\SConstruct
\gitclone\level1\level2\SConscript.3dn
Now in SConscript.3dn
I am creating empty folder: e.Execute(Mkdir('#/testDir'))
How to define the file path to create the folder in \gitclone\
(where root SConstruct
file is)? I was reading manual, but somehow I can not manage it.
Upvotes: 0
Views: 59
Reputation: 157
I have found solution here, so my code is:
e['SCONS_ROOT'] = Dir('#')
e.Execute(Mkdir('${SCONS_ROOT.abspath}/win_b64/code/bin/testDir'))
Upvotes: 1