@@ -58,7 +58,9 @@ def printUsage():
58
58
def processExport ( outputName , compilerName , version ):
59
59
print "creating a clean clone of cinder"
60
60
baseDir = os .getcwd ()
61
- os .system ( "git clone --recursive --depth 1 -b master . ../cinder_temp/" )
61
+ fileUrl = "file://" + baseDir
62
+ fileUrl .replace ( os .sep , "/" )
63
+ os .system ( "git clone --recursive --depth 1 -b master " + fileUrl + " .." + os .sep + "cinder_temp" )
62
64
os .chdir ( baseDir + os .sep + ".." + os .sep + "cinder_temp" )
63
65
outputDir = baseDir + os .sep + ".." + os .sep + "cinder_" + version + "_" + outputName + os .sep
64
66
print "performing selective copy to " + outputDir
@@ -100,14 +102,13 @@ def cleanupMswLibDir( dir ):
100
102
outputDir = processExport ( "vc2013" , "vc2013" , sys .argv [1 ] )
101
103
os .chdir ( outputDir + "proj\\ vc2013" )
102
104
os .system ( "msbuild cinder.vcxproj /p:platform=win32 /p:configuration=debug" )
103
- shutil .rmtree ( outputDir + "proj\\ vc2013\\ Debug" )
104
105
os .system ( "msbuild cinder.vcxproj /p:platform=win32 /p:configuration=release" )
105
- shutil .rmtree ( outputDir + "proj\\ vc2013\\ Release " )
106
+ shutil .rmtree ( outputDir + "proj\\ vc2013\\ build " )
106
107
# os.system( "msbuild cinder.vcxproj /p:platform=x64 /p:configuration=debug" )
107
108
# shutil.rmtree( outputDir + "vc2013\\x64\\Debug" )
108
109
# os.system( "msbuild cinder.vcxproj /p:platform=x64 /p:configuration=release" )
109
110
# shutil.rmtree( outputDir + "vc2013\\x64\\Release" )
110
- cleanupMswLibDir ( outputDir + "lib\\ msw\\ x86" )
111
+ cleanupMswLibDir ( outputDir + "lib\\ msw\\ x86\\ debug " )
111
112
# cleanupMswLibDir( outputDir + "lib\\msw\\x64" )
112
113
elif sys .argv [2 ] == 'vc2015' :
113
114
gCompiler = 'vc2015'
0 commit comments