Details
Description
In the IB module where I'm adding new features I have:
setupBuildEnvironment: { var v = new ModUtils.EnvironmentVariable("PATH", qbs.pathListSeparator, qbs.hostOS.contains("windows")); v.prepend(cpp.toolchainInstallPath); v.set(); }
For some reason I randomly receive "ERROR: Error while setting up build environment: ReferenceError: Can't find variable: getEnv" when running autotests. qbs.ModUtils is imported. Ideas?
I should add that I no longer need this anyways because the dependency on the cpp module ends up adding the directories to the PATH that I need. Still odd.
Attachments
For Gerrit Dashboard: QBS-649 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
140546,4 | Move setup[Build|Run]Environment global functions into a real extension. | master | qbs/qbs | Status: MERGED | +2 | 0 |