SCons: code cleanup, shorter way to determine makesrna output directory.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D237
This commit is contained in:
Lawrence D'Oliveiro 2014-02-04 19:08:17 +01:00 committed by Brecht Van Lommel
parent cb0a5adc56
commit df944eb041
1 changed files with 1 additions and 2 deletions

View File

@ -203,8 +203,7 @@ else:
rna_dict = rna.Dictionary()
rna.Depends (generated_files, makesrna)
# this seems bad, how to retrieve it from scons?
build_dir = root_build_dir + os.sep +'source' + os.sep + 'blender' + os.sep + 'makesrna' + os.sep + 'intern' + os.sep
build_dir = Dir(".").abspath + os.sep
if env['OURPLATFORM'] != 'linuxcross':
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw', 'win64-mingw'):