diff options
Diffstat (limited to 'cpp/install/common/makewindist.py')
-rwxr-xr-x | cpp/install/common/makewindist.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cpp/install/common/makewindist.py b/cpp/install/common/makewindist.py index d7a5a69243a..4b14fd10f94 100755 --- a/cpp/install/common/makewindist.py +++ b/cpp/install/common/makewindist.py @@ -243,6 +243,18 @@ def buildIceDists(stageDir, sourcesDir, sourcesVersion, installVersion): if installVersion == "vc80": + + # + # Ice for Python + # + pythonHome = os.environ['PYTHON_HOME'] + prependEnvPath('LIB', os.path.join(pythonHome, "libs")) + prependEnvPath('INCLUDE', os.path.join(pythonHome, "include")) + + os.chdir(os.path.join(sourcesDir, "IcePy-" + sourcesVersion)) + print "Building in " + os.getcwd() + "..." + runprog("devenv all.sln /useenv /build Release") + elif installVersion == "vc60": # # Ice for PHP # @@ -264,19 +276,7 @@ def buildIceDists(stageDir, sourcesDir, sourcesVersion, installVersion): os.chdir(os.path.join(sourcesDir, "IcePHP-" + sourcesVersion)) print "Building in " + os.getcwd() + "..." - runprog("devenv icephp.sln /useenv /build Release") - - # - # Ice for Python - # - pythonHome = os.environ['PYTHON_HOME'] - prependEnvPath('LIB', os.path.join(pythonHome, "libs")) - prependEnvPath('INCLUDE', os.path.join(pythonHome, "include")) - - os.chdir(os.path.join(sourcesDir, "IcePy-" + sourcesVersion)) - print "Building in " + os.getcwd() + "..." - runprog("devenv all.sln /useenv /build Release") - elif installVersion == "vc60": + runprog('msdev icephp.dsw /useenv /make "php_ice - Win32 Release"') # # Ice for C++ # |