summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Haas <Hinsbart@users.noreply.github.com>2017-10-02 22:31:53 +0200
committerGitHub <noreply@github.com>2017-10-02 22:31:53 +0200
commit33977412f3ece24b609cc06da469ba144c103c7c (patch)
treebc4f46e06fdc2d991fc47aa1dfafa60becd864be
parent31c14432b8808472ad1708bbb8345018010723d3 (diff)
parentbc870468f157d18f537ca3393fd38b1add640a4a (diff)
Merge pull request #11752 from Listwon/vsscons
Fix scons: *** No SConstruct file found
-rw-r--r--methods.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/methods.py b/methods.py
index 2ab76a5416..f1ef95f6fe 100644
--- a/methods.py
+++ b/methods.py
@@ -1706,9 +1706,9 @@ def generate_vs_project(env, num_jobs):
env.AddToVSProject(env.servers_sources)
env.AddToVSProject(env.editor_sources)
- env['MSVSBUILDCOM'] = build_commandline('scons platform=windows target=$(Configuration) tools=!tools! -j' + str(num_jobs))
- env['MSVSREBUILDCOM'] = build_commandline('scons platform=windows target=$(Configuration) tools=!tools! vsproj=yes -j' + str(num_jobs))
- env['MSVSCLEANCOM'] = build_commandline('scons --clean platform=windows target=$(Configuration) tools=!tools! -j' + str(num_jobs))
+ env['MSVSBUILDCOM'] = build_commandline('scons --directory=$(ProjectDir) platform=windows target=$(Configuration) tools=!tools! -j' + str(num_jobs))
+ env['MSVSREBUILDCOM'] = build_commandline('scons --directory=$(ProjectDir) platform=windows target=$(Configuration) tools=!tools! vsproj=yes -j' + str(num_jobs))
+ env['MSVSCLEANCOM'] = build_commandline('scons --directory=$(ProjectDir) --clean platform=windows target=$(Configuration) tools=!tools! -j' + str(num_jobs))
# This version information (Win32, x64, Debug, Release, Release_Debug seems to be
# required for Visual Studio to understand that it needs to generate an NMAKE