Description
This issue was originally created at: 2010-09-28 07:22:46.
This issue was reported by: bjornen
.
bjornen said at 2010-09-28 07:22:46
Setting both of them to "9.0" doesn't have any effect on my output:
env.MSVSProject(
MSVC_VERSION = "9.0",
MSVS_VERSION = "9.0",
target = 'distribution/project-template' + envCFecos['MSVSPROJECTSUFFIX'],
srcs = [str(s).replace('adopter', 'source', 1) for s in
files_adopter.files_all() + files_adopter.files_ecos()],
variant = 'Debug',
MSVSBUILDCOM = "py.bat scons-msc.py -j1 debug=1 ecos",
MSVSREBUILDCOM = "",
MSVSCLEANCOM = "scons debug=1 --clean ecos",
auto_build_solution = 0)
bjornen said at 2010-09-28 07:25:56
The exact version wasn't available in the above listbox:
SCons by Steven Knight et al.:
engine: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog
bdbaddog said at 2010-09-30 07:54:54
I've added 2.0.1 to the versions, and changed your bug report to 2.0.1, please
change again if that's incorrect.
garyo said at 2010-10-09 11:46:58
I think you need to set MSVS_VERSION (and MSVC_VERSION) when constructing the
environment, not later. And you can't pass MSVS_VERSION as an argument to
MSVSProject (at least it doesn't work if you do -- it appears to treat it as a
keyword arg which gets ignored).Please feel free to reopen if this solution doesn't work for you.
bjornen said at 2010-10-15 00:02:15
Setting them when constructing the environment does not help.
This is what I tested with:
envDist = Environment(tools = [ 'msvs' ], MSVC_VERSION = "9.0", MSVS_VERSION =
"9.0")Alias('dist',
envDist.MSVSProject(
target = 'distribution/project-template' + envDist['MSVSPROJECTSUFFIX'],
srcs = project_files,
variant = 'Debug',
),
)
gregnoel said at 2010-11-14 18:00:45
Bug party triage. Assign to Bill for research, but keep Gary in the loop. If
necessary, pass the issue to Gary. Change the milestone to 2.1 if the research
turns up a bug that needs to be fixed.