From f23870a78bae3c745694625197f4d364f277d857 Mon Sep 17 00:00:00 2001 From: inv Date: Tue, 14 Sep 2010 11:04:27 +0000 Subject: [PATCH] Small correction --- src/WOKTclLib/osutils.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/WOKTclLib/osutils.tcl b/src/WOKTclLib/osutils.tcl index ec2ed1c..cc3f22b 100755 --- a/src/WOKTclLib/osutils.tcl +++ b/src/WOKTclLib/osutils.tcl @@ -939,6 +939,7 @@ proc osutils:vcproj { vc plat dir tkloc _guids {tmplat {} } {fmtcpp {} } } { # Generate Visual Studio project file for executable proc osutils:vcprojx { vc plat dir tkloc _guids {tmplat0 {} } {fmtcpp {} } } { + puts "VTN: osutils:vcprojx" if { $fmtcpp == {} } {set fmtcpp [osutils:vcproj:fmtcppx]} set fout {} foreach f [osutils:tk:files $tkloc osutils:compilable 0] { @@ -972,7 +973,7 @@ proc osutils:vcprojx { vc plat dir tkloc _guids {tmplat0 {} } {fmtcpp {} } } { if {[wokparam -t %$element] != 0} { set elemlist [wokparam -v "%$element"] foreach fl [split [wokparam -v %$element] \{\ \}] { - set felem [file tail $fl] + set felem [file tail $fl] if {[lsearch $tkused $felem] == "-1"} { if {$felem != "\{\}"} { #puts "was found $element $felem" @@ -981,6 +982,7 @@ proc osutils:vcprojx { vc plat dir tkloc _guids {tmplat0 {} } {fmtcpp {} } } { } } } + } } set WOKSteps_exec_link [wokparam -v %WOKSteps_exec_link [woklocate -u $tkloc]] if { [regexp {WOKStep_DLLink} $WOKSteps_exec_link] || [regexp {WOKStep_Libink} $WOKSteps_exec_link] } { -- 2.39.5