From: cascade Date: Fri, 22 May 2009 17:54:19 +0000 (+0000) Subject: OCC21135 The BinPlugin.vcproj is generated incorrectly for vc8_64. X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=2d31f5b5fbbd5d573b98d3e4cc5885d4fb56c3db;p=occt-wok.git OCC21135 The BinPlugin.vcproj is generated incorrectly for vc8_64. --- diff --git a/src/WOKTclLib/osutils.tcl b/src/WOKTclLib/osutils.tcl index 28b6644..c1f046f 100755 --- a/src/WOKTclLib/osutils.tcl +++ b/src/WOKTclLib/osutils.tcl @@ -1232,10 +1232,15 @@ proc osutils:vc8x_64 { dir tkloc {tmplat {} } {fmtcpp {} } } { #puts "$temp3 $files" regsub -all -- {__FILES__} $temp3 $files temp4 regsub -all -- {__CONF__} $temp4 $binext temp5 + if { $binext == 2 } { + regsub -all -- {__XQTEXT__} $temp5 "dll" temp6 + } else { + regsub -all -- {__XQTEXT__} $temp5 "exe" temp6 + } set fp [open [set fdsp [file join $dir ${tf}.vcproj]] w] fconfigure $fp -translation crlf - puts $fp $temp5 + puts $fp $temp6 set fout [lappend fout $fdsp] close $fp } diff --git a/src/WOKTclLib/template.vc8x_64 b/src/WOKTclLib/template.vc8x_64 index 7626871..ea25fa6 100755 --- a/src/WOKTclLib/template.vc8x_64 +++ b/src/WOKTclLib/template.vc8x_64 @@ -1,213 +1,215 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -__FILES__ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__FILES__ + + + + +