]> OCCT Git - occt-wok.git/commitdiff
OCC21181-v2-opt Update of generator of Visual Studio projects
authorcascade <cascade@opencascade.com>
Fri, 19 Jun 2009 17:36:01 +0000 (17:36 +0000)
committercascade <cascade@opencascade.com>
Fri, 19 Jun 2009 17:36:01 +0000 (17:36 +0000)
src/WOKTclLib/FILES
src/WOKTclLib/osutils.tcl
src/WOKTclLib/template.vc7
src/WOKTclLib/template.vc8
src/WOKTclLib/template.vc8_64

index 64c37ea731e98a16b8a86199b24437b352a25544..bb452095accb96da7d876d0efb901446845e5855 100755 (executable)
@@ -154,6 +154,10 @@ srcinc:::template.vc8
 srcinc:::template.vc8x
 srcinc:::template.vc8_64
 srcinc:::template.vc8x_64
+srcinc:::template.vc9
+srcinc:::template.vc9x
+srcinc:::template.vc9_64
+srcinc:::template.vc9x_64
 srcinc:::osutils.tcl
 srcinc:::config.h
 srcinc:::opencascade.gif
index c1f046f823e152b6391fffd7eaf23b167463b018..ace7d32a5afb4dd9227046b78ec5768179de2a3b 100755 (executable)
 ;# 2. Wok commands and workbench environment.
 ;#
 ;# Author: yolanda_forbes@hotmail.com
-;# 
-;# (((((((((((((((((((((((( MS PROJECT )))))))))))))))))))))))
-;#
-;# the full path of a MS project template file.
-;# Should be overwritten
 ;#
-proc osutils:vc8_64:readtemplate { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc8_64]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:vc8_64:readtemplatex { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc8x_64]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:vc8:readtemplate { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc8]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:vc8:readtemplatex { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc8x]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:vc7:readtemplate { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc7]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:vc7:readtemplatex { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc7x]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:vc6:readtemplate { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc6 ]]"
+proc osutils:readtemplate {ext what} {
+    puts stderr "Info : Template for $what loaded from [set loc [woklocate -p WOKTclLib:source:template.$ext]]"
     return [wokUtils:FILES:FileToString $loc]
 }
-proc osutils:vc6:readtemplatex { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.vc6x]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:mak:readtemplate { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.mak ]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:mak:readtemplatex { } {
-    puts stderr "Info : readtemplate : Template for MS project from [set loc [woklocate -p WOKTclLib:source:template.makx]]"
-    return [wokUtils:FILES:FileToString $loc]
-}
-proc osutils:am:readtemplate { } {
-    puts stderr "Info : readtemplate : Template for Makefile.am from [set loc [woklocate -p WOKTclLib:source:template.mam]]"
-    return [wokUtils:FILES:FileToString $loc]
-
-}
-proc osutils:am:readtemplatex { } {
-    puts stderr "Info : readtemplatex : Template for Makefile.am from [set loc [woklocate -p WOKTclLib:source:template.mamx]]"
-    return [wokUtils:FILES:FileToString $loc]
 
+# generate template name and load it for given version of Visual Studio and platform
+proc osutils:vcproj:readtemplate {vc plat isexec} {
+    set ext $vc
+    set what "$vc $plat"
+    if { $isexec } {
+       set ext "${ext}x"
+       set what "$what executable"
+    }
+    if { "$plat" == "win64" } {
+       set ext "${ext}_64"
+    }
+    return [osutils:readtemplate $ext "MS VC++ project ($what)"]
 }
-proc osutils:in:readtemplate { } {
-    puts stderr "Info : readtemplate : Template for Makefile.in from [set loc [woklocate -p WOKTclLib:source:template.min]]"
-    return [wokUtils:FILES:FileToString $loc]
 
+# Convert platform definition (win32 or win64) to appropriate configuration 
+# name in Visual C++ (Win32 and x64)
+proc osutils:vcsolution:confname { vcversion plat } {
+    if { "$plat" == "win32" } {
+       set conf "Win32"
+    } elseif { "$plat" == "win64" } {
+       set conf "x64"
+    } else {
+       puts stderr "Error: Unsupported platform \"$plat\""
+    } 
+    return $conf
 }
-proc osutils:in:readtemplatex { } {
-    puts stderr "Info : readtemplatex : Template for Makefile.in from [set loc [woklocate -p WOKTclLib:source:template.minx]]"
-    return [wokUtils:FILES:FileToString $loc]
 
-}
-;#
-;# 
-;#
-proc osutils:vc6proj:header { } {
-    append var \
+# Generate header for VS solution file
+proc osutils:vcsolution:header { vcversion } {
+    if { "$vcversion" == "vc6" } {
+        append var \
            "Microsoft Developer Studio Workspace File, Format Version 6.00" "\n" \
            "# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!" "\n" \
            "\n" \
            "###############################################################################" "\n" \
            "\n"
+    } elseif { "$vcversion" == "vc7" } {
+        append var \
+           "Microsoft Visual Studio Solution File, Format Version 8.00\n" 
+    } elseif { "$vcversion" == "vc8" } {
+       append var \
+           "Microsoft Visual Studio Solution File, Format Version 9.00\n" \
+           "# Visual Studio 2005\n"
+    } elseif { "$vcversion" == "vc9" } {
+       append var \
+           "Microsoft Visual Studio Solution File, Format Version 10.00\n" \
+           "# Visual Studio 2008\n"
+    } else {
+       puts stderr "Error: Visual Studio version $vc is not supported by this function!"
+    } 
     return $var
 }
-proc osutils:vc7proj:header { } {
-    append var \
-           "Microsoft Visual Studio Solution File, Format Version 8.00\n" 
+
+# Generate start of configuration section of VS solution file
+proc osutils:vcsolution:config:begin { vcversion plat } {
+    if { "$vcversion" == "vc7" } {
+        append var \
+           "Global\n" \
+           "\tGlobalSection(SolutionConfiguration) = preSolution\n" \
+           "\t\tDebug = Debug\n" \
+           "\t\tRelease = Release\n" \
+           "\tEndGlobalSection\n" \
+           "\tGlobalSection(ProjectConfiguration) = postSolution\n"
+    } elseif { "$vcversion" == "vc8" || "$vcversion" == "vc9" } {
+       set conf [osutils:vcsolution:confname $vcversion $plat]
+        append var \
+           "Global\n" \
+           "\tGlobalSection(SolutionConfigurationPlatforms) = preSolution\n" \
+           "\t\tDebug|$conf = Debug|$conf\n" \
+           "\t\tRelease|$conf = Release|$conf\n" \
+           "\tEndGlobalSection\n" \
+           "\tGlobalSection(ProjectConfigurationPlatforms) = postSolution\n"
+    } else {
+       puts stderr "Error: Visual Studio version $vc is not supported by this function!"
+    } 
     return $var
 }
-proc osutils:vc8proj:header { } {
-    append var \
-           "Microsoft Visual Studio Solution File, Format Version 9.00\n" \
-           "# Visual Studio 2005\n"
+
+# Generate part of configuration section of VS solution file describing one project
+proc osutils:vcsolution:config:project { vcversion plat guid } {
+    if { "$vcversion" == "vc7" } {
+        append var \
+           "\t\t$guid.Debug.ActiveCfg = Debug|Win32\n" \
+           "\t\t$guid.Debug.Build.0 = Debug|Win32\n" \
+           "\t\t$guid.Release.ActiveCfg = Release|Win32\n" \
+           "\t\t$guid.Release.Build.0 = Release|Win32\n"
+    } elseif { "$vcversion" == "vc8" || "$vcversion" == "vc9" } {
+       set conf [osutils:vcsolution:confname $vcversion $plat]
+        append var \
+           "\t\t$guid.Debug|$conf.ActiveCfg = Debug|$conf\n" \
+           "\t\t$guid.Debug|$conf.Build.0 = Debug|$conf\n" \
+           "\t\t$guid.Release|$conf.ActiveCfg = Release|$conf\n" \
+           "\t\t$guid.Release|$conf.Build.0 = Release|$conf\n"
+    } else {
+       puts stderr "Error: Visual Studio version $vc is not supported by this function!"
+    } 
     return $var
 }
-proc osutils:vc8_64proj:header { } {
-    append var \
-           "Microsoft Visual Studio Solution File, Format Version 9.00\n" \
-           "# Visual Studio 2005\n"
+
+# Generate start of configuration section of VS solution file
+proc osutils:vcsolution:config:end { vcversion plat } {
+    if { "$vcversion" == "vc7" } {
+        append var \
+           "\tEndGlobalSection\n" \
+           "\tGlobalSection(ExtensibilityGlobals) = postSolution\n" \
+           "\tEndGlobalSection\n" \
+           "\tGlobalSection(ExtensibilityAddIns) = postSolution\n" \
+           "\tEndGlobalSection\n" \
+           "EndGlobal\n"
+    } elseif { "$vcversion" == "vc8" || "$vcversion" == "vc9" } {
+        append var \
+           "\tEndGlobalSection\n" \
+           "\tGlobalSection(SolutionProperties) = preSolution\n" \
+           "\t\tHideSolutionNode = FALSE\n" \
+           "\tEndGlobalSection\n" \
+           "EndGlobal\n"
+    } else {
+       puts stderr "Error: Visual Studio version $vc is not supported by this function!"
+    } 
     return $var
 }
+
 ;#
 ;# the leaf of a workspace file
 ;#
@@ -188,27 +221,11 @@ proc osutils:mak:fmtcpp { } {
 proc osutils:vc6:fmtcppx { } {
     return {# ADD CPP /I ..\..\..\inc /I ..\..\..\drv\%s /I ..\..\..\src\%s /D "__%s_DLL"}
 }
-proc osutils:vc7:fmtcpp { } {
-    return {AdditionalIncludeDirectories="..\..\..\inc,..\..\..\drv\%s,..\..\..\src\%s"
-                                                        PreprocessorDefinitions="__%s_DLL;"}
-}
-proc osutils:vc7:fmtcppx { } {
-    return {AdditionalIncludeDirectories="..\..\..\inc,..\..\..\drv\%s,..\..\..\src\%s"
-                                                        PreprocessorDefinitions="__%s_DLL;$(NoInherit)"}
-}
-proc osutils:vc8:fmtcpp { } {
-    return {AdditionalIncludeDirectories="..\..\..\inc,..\..\..\drv\%s,..\..\..\src\%s"
-                                                        PreprocessorDefinitions="__%s_DLL;"}
-}
-proc osutils:vc8:fmtcppx { } {
-    return {AdditionalIncludeDirectories="..\..\..\inc,..\..\..\drv\%s,..\..\..\src\%s"
-                                                        PreprocessorDefinitions="__%s_DLL;$(NoInherit)"}
-}
-proc osutils:vc8_64:fmtcpp { } {
+proc osutils:vcproj:fmtcpp { } {
     return {AdditionalIncludeDirectories="..\..\..\inc,..\..\..\drv\%s,..\..\..\src\%s"
                                                         PreprocessorDefinitions="__%s_DLL;"}
 }
-proc osutils:vc8_64:fmtcppx { } {
+proc osutils:vcproj:fmtcppx { } {
     return {AdditionalIncludeDirectories="..\..\..\inc,..\..\..\drv\%s,..\..\..\src\%s"
                                                         PreprocessorDefinitions="__%s_DLL;$(NoInherit)"}
 }
@@ -216,18 +233,9 @@ proc osutils:mak:fmtcppx { } {
     return {CPP_SWITCHES=$(CPP_PROJ) /I ..\..\..\inc /I ..\..\..\drv\%s /I ..\..\..\src\%s /D "__%s_DLL"}
 }
 ;#
-;# List extensions of files devoted to be eaten by cl.exe compiler.
+;# List extensions of compilable files in OCCT
 ;#
-proc osutils:vc6:compilable { } {
-    return [list .c .cxx .cpp]
-}
-proc osutils:vc7:compilable { } {
-    return [list .c .cxx .cpp]
-}
-proc osutils:vc8:compilable { } {
-    return [list .c .cxx .cpp]
-}
-proc osutils:vc8_64:compilable { } {
+proc osutils:compilable { } {
     return [list .c .cxx .cpp]
 }
 ;#
@@ -331,7 +339,6 @@ proc LibToLinkX {tkit name} {
     }
 }
 
-
 ;#
 ;#      ((((((((WOK toolkits manipulations))))))))
 ;#
@@ -539,11 +546,11 @@ proc osutils:tk:hascsf { EXTERNLIB } {
 ;# in dir return the full path of the created file
 ;#
 proc osutils:vc6 { dir tkloc {tmplat {} } {fmtcpp {} } } {
-    if { $tmplat == {} } {set tmplat [osutils:vc6:readtemplate]}
+    if { $tmplat == {} } {set tmplat [osutils:readtemplate vc6 "MS VC++ 6.0 project"]}
     if { $fmtcpp == {} } {set fmtcpp [osutils:vc6:fmtcpp]}
     set fp [open [set fdsp [file join $dir ${tkloc}.dsp]] w]
     fconfigure $fp -translation crlf
-    set l_compilable [osutils:vc6:compilable]
+    set l_compilable [osutils:compilable]
     regsub -all -- {__TKNAM__} $tmplat $tkloc  temp0
     set tkused ""
     foreach tkx [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] {
@@ -573,7 +580,7 @@ proc osutils:vc6 { dir tkloc {tmplat {} } {fmtcpp {} } } {
     set listloc [osutils:tk:units [woklocate -u $tkloc]]
     set resultloc [osutils:justwnt $listloc]
     ;#puts "result = $resultloc"
-    ;#set lsrc   [lsort [osutils:tk:files $tkloc osutils:am:compilable 1 osutils:justwnt]]
+    ;#set lsrc   [lsort [osutils:tk:files $tkloc osutils:compilable 1 osutils:justwnt]]
     if [array exists written] { unset written }
     set fxloparamfcxx [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] ] 2]
     set fxloparamfc   [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options   [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] ] 2]
@@ -581,7 +588,7 @@ proc osutils:vc6 { dir tkloc {tmplat {} } {fmtcpp {} } } {
     foreach fxlo $resultloc {
         set xlo [wokinfo -n $fxlo]
        append files "# Begin Group \"${xlo}\"" "\n"        
-       set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
+       set lsrc   [osutils:tk:files $xlo osutils:compilable 0]
        set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0]] ] 2]"
         set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] [split [lindex [wokparam -v %CMPLRS_C_Options   $fxlo] 0]] ] 2]"
         set needparam ""
@@ -612,316 +619,20 @@ proc osutils:vc6 { dir tkloc {tmplat {} } {fmtcpp {} } } {
     close $fp
     return $fdsp
 }
-proc osutils:vc7 { dir tkloc {tmplat {} } {fmtcpp {} } } {
-   if { $tmplat == {} } {set tmplat [osutils:vc7:readtemplate]}
-    if { $fmtcpp == {} } {set fmtcpp [osutils:vc7:fmtcpp]}
-    set fp [open [set fvcproj [file join $dir ${tkloc}.vcproj]] w]
-    fconfigure $fp -translation crlf
-    set l_compilable [osutils:vc7:compilable]
-    regsub -all -- {__TKNAM__} $tmplat $tkloc  temp0
-    set tkused ""
-    foreach tkx [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] {
-       append tkused "${tkx}.lib "
-    }
-    wokparam -l CSF
-    foreach tk [lappend [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] $tkloc] {
-       foreach element [osutils:tk:hascsf [woklocate -p ${tk}:source:EXTERNLIB [wokcd]]] {
-           if {[wokparam -t %$element] != 0} {
-               set felem [file tail [lindex [wokparam -v "%$element"] 0]]
-             if {[lsearch $tkused $felem] == "-1"} {
-               if {$felem != "\{\}"} {
-                   set tkused [concat $tkused $felem]
-               }
-            }   
-          }
-       }
-    }
 
-    puts "$tkloc requires  $tkused"
-    regsub -all -- {__TKDEP__} $temp0  $tkused temp1
-    set files ""
-    set listloc [osutils:tk:units [woklocate -u $tkloc]]
-    set resultloc [osutils:justwnt $listloc]
-    if [array exists written] { unset written }
-    set fxloparamfcxx [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] ] 2]
-    set fxloparamfc   [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options   [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] ] 2]
-    set fxloparam    "[union [split $fxloparamfcxx] [split $fxloparamfc]]"
-    foreach fxlo $resultloc {
-        set xlo [wokinfo -n $fxlo]        
-       append files "        <Filter\n"
-        append files "                                Name=\"${xlo}\"\n"
-        append files "                                Filter=\"\">\n"
-        set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
-       set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0]] ] 2]"
-        set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] [split [lindex [wokparam -v %CMPLRS_C_Options $fxlo]   0]] ] 2]"
-        set needparam ""
-        foreach partopt $fxloparam {
-           if { "-I[lindex [wokparam -v %CSF_TCL_INCLUDE] 0]" != "$partopt "} {
-               if { "-I[lindex [wokparam -v %CSF_JAVA_INCLUDE] 0]" != "$partopt "} {
-                 set needparam "$needparam $partopt"
-                }
-           }
-        }
-        foreach f $lsrc {
-           #puts " f = $f"
-           if { ![info exists written([file tail $f])] } {
-               set written([file tail $f]) 1
-               append files "\t\t\t\t<File\n"
-               append files "\t\t\t\t\tRelativePath=\"..\\..\\..\\[wokUtils:EASY:bs1 [wokUtils:FILES:wtail $f 3]]\">\n"
-                append files "\t\t\t\t\t<FileConfiguration\n"
-                append files "\t\t\t\t\t\tName=\"Debug\|Win32\">\n"
-                append files "\t\t\t\t\t\t<Tool\n"
-                append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-                if {$needparam != ""} {
-                  append files "\t\t\t\t\t\t\tAdditionalOptions=\""
-                  foreach paramm $needparam {
-                     append files "$paramm "
-                  }
-                  append files "\"\n"
-                }
-                append files "\t\t\t\t\t\t\tOptimization=\"0\"\n"
-               append files "\t\t\t\t\t\t\t[format $fmtcpp $xlo $xlo $xlo]\n"
-                append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-                append files "\t\t\t\t\t</FileConfiguration>\n"
-                append files "\t\t\t\t\t<FileConfiguration\n"
-                append files "\t\t\t\t\t\tName=\"Release\|Win32\">\n"
-                append files "\t\t\t\t\t\t<Tool\n"
-                append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-                if {$needparam != ""} {
-                  append files "\t\t\t\t\t\t\tAdditionalOptions=\""
-                  foreach paramm $needparam {
-                     append files "$paramm "
-                  }
-                  append files "\"\n"
-                }
-                append files "\t\t\t\t\t\t\tOptimization=\"2\"\n"
-               append files "\t\t\t\t\t\t\t[format $fmtcpp $xlo $xlo $xlo]\n"
-                append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-                append files "\t\t\t\t\t</FileConfiguration>\n"
-               append files "\t\t\t\t</File>\n"
-           } else {
-               puts "Warning : in vcproj more than one occurences for [file tail $f]"
-           }
-       }
-    append files "\t\t\t</Filter>"
-    }
-    
-    regsub -all -- {__FILES__} $temp1 $files temp2
-    puts $fp $temp2
-    close $fp
-    return $fvcproj
-}
-proc osutils:vc8 { dir tkloc {tmplat {} } {fmtcpp {} } } {
-   if { $tmplat == {} } {set tmplat [osutils:vc8:readtemplate]}
-    if { $fmtcpp == {} } {set fmtcpp [osutils:vc8:fmtcpp]}
-    set fp [open [set fvcproj [file join $dir ${tkloc}.vcproj]] w]
-    fconfigure $fp -translation crlf
-    set l_compilable [osutils:vc8:compilable]
-    regsub -all -- {__TKNAM__} $tmplat $tkloc  temp0
-    set tkused ""
-    foreach tkx [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] {
-       append tkused "${tkx}.lib "
-    }
-    wokparam -l CSF
-    foreach tk [lappend [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] $tkloc] {
-       foreach element [osutils:tk:hascsf [woklocate -p ${tk}:source:EXTERNLIB [wokcd]]] {
-           if {[wokparam -t %$element] != 0} {
-               set felem [file tail [lindex [wokparam -v "%$element"] 0]]
-             if {[lsearch $tkused $felem] == "-1"} {
-               if {$felem != "\{\}"} {
-                   set tkused [concat $tkused $felem]
-               }
-            }   
-          }
-       }
-    }
-
-    puts "$tkloc requires  $tkused"
-    regsub -all -- {__TKDEP__} $temp0  $tkused temp1
-    set files ""
-    set listloc [osutils:tk:units [woklocate -u $tkloc]]
-    set resultloc [osutils:justwnt $listloc]
-    if [array exists written] { unset written }
-    set fxloparamfcxx [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] ] 2]
-    set fxloparamfc   [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options   [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] ] 2]
-    set fxloparam    "[union [split $fxloparamfcxx] [split $fxloparamfc]]"
-    foreach fxlo $resultloc {
-        set xlo [wokinfo -n $fxlo]        
-       append files "        <Filter\n"
-        append files "                                Name=\"${xlo}\"\n"
-        append files "                                Filter=\"\">\n"
-        set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
-       set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0]] ] 2]"
-        set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] [split [lindex [wokparam -v %CMPLRS_C_Options $fxlo]   0]] ] 2]"
-        set needparam ""
-        foreach partopt $fxloparam {
-           if { "-I[lindex [wokparam -v %CSF_TCL_INCLUDE] 0]" != "$partopt "} {
-               if { "-I[lindex [wokparam -v %CSF_JAVA_INCLUDE] 0]" != "$partopt "} {
-                 set needparam "$needparam $partopt"
-                }
-           }
-        }
-        foreach f $lsrc {
-           #puts " f = $f"
-           if { ![info exists written([file tail $f])] } {
-               set written([file tail $f]) 1
-               append files "\t\t\t\t<File\n"
-               append files "\t\t\t\t\tRelativePath=\"..\\..\\..\\[wokUtils:EASY:bs1 [wokUtils:FILES:wtail $f 3]]\">\n"
-                append files "\t\t\t\t\t<FileConfiguration\n"
-                append files "\t\t\t\t\t\tName=\"Debug\|Win32\">\n"
-                append files "\t\t\t\t\t\t<Tool\n"
-                append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-                if {$needparam != ""} {
-                  append files "\t\t\t\t\t\t\tAdditionalOptions=\""
-                  foreach paramm $needparam {
-                     append files "$paramm "
-                  }
-                  append files "\"\n"
-                }
-                append files "\t\t\t\t\t\t\tOptimization=\"0\"\n"
-               append files "\t\t\t\t\t\t\t[format $fmtcpp $xlo $xlo $xlo]\n"
-                append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-                append files "\t\t\t\t\t</FileConfiguration>\n"
-                append files "\t\t\t\t\t<FileConfiguration\n"
-                append files "\t\t\t\t\t\tName=\"Release\|Win32\">\n"
-                append files "\t\t\t\t\t\t<Tool\n"
-                append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-                if {$needparam != ""} {
-                  append files "\t\t\t\t\t\t\tAdditionalOptions=\""
-                  foreach paramm $needparam {
-                     append files "$paramm "
-                  }
-                  append files "\"\n"
-                }
-                append files "\t\t\t\t\t\t\tOptimization=\"2\"\n"
-               append files "\t\t\t\t\t\t\t[format $fmtcpp $xlo $xlo $xlo]\n"
-                append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-                append files "\t\t\t\t\t</FileConfiguration>\n"
-               append files "\t\t\t\t</File>\n"
-           } else {
-               puts "Warning : in vcproj more than one occurences for [file tail $f]"
-           }
-       }
-    append files "\t\t\t</Filter>"
-    }
-    
-    regsub -all -- {__FILES__} $temp1 $files temp2
-    puts $fp $temp2
-    close $fp
-    return $fvcproj
-}
-proc osutils:vc8_64 { dir tkloc {tmplat {} } {fmtcpp {} } } {
-   if { $tmplat == {} } {set tmplat [osutils:vc8_64:readtemplate]}
-    if { $fmtcpp == {} } {set fmtcpp [osutils:vc8_64:fmtcpp]}
-    set fp [open [set fvcproj [file join $dir ${tkloc}.vcproj]] w]
-    fconfigure $fp -translation crlf
-    set l_compilable [osutils:vc8_64:compilable]
-    regsub -all -- {__TKNAM__} $tmplat $tkloc  temp0
-    set tkused ""
-    foreach tkx [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] {
-       append tkused "${tkx}.lib "
-    }
-    wokparam -l CSF
-    foreach tk [lappend [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] $tkloc] {
-       foreach element [osutils:tk:hascsf [woklocate -p ${tk}:source:EXTERNLIB [wokcd]]] {
-           if {[wokparam -t %$element] != 0} {
-               set felem [file tail [lindex [wokparam -v "%$element"] 0]]
-             if {[lsearch $tkused $felem] == "-1"} {
-               if {$felem != "\{\}"} {
-                   set tkused [concat $tkused $felem]
-               }
-            }   
-          }
-       }
-    }
-
-    puts "$tkloc requires  $tkused"
-    regsub -all -- {__TKDEP__} $temp0  $tkused temp1
-    set files ""
-    set listloc [osutils:tk:units [woklocate -u $tkloc]]
-    set resultloc [osutils:justwnt $listloc]
-    if [array exists written] { unset written }
-    set fxloparamfcxx [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] ] 2]
-    set fxloparamfc   [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options   [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] ] 2]
-    set fxloparam    "[union [split $fxloparamfcxx] [split $fxloparamfc]]"
-    foreach fxlo $resultloc {
-        set xlo [wokinfo -n $fxlo]        
-       append files "        <Filter\n"
-        append files "                                Name=\"${xlo}\"\n"
-        append files "                                Filter=\"\">\n"
-        set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
-       set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0]] ] 2]"
-        set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] [split [lindex [wokparam -v %CMPLRS_C_Options   $fxlo] 0]] ] 2]"
-        set needparam ""
-        foreach partopt $fxloparam {
-           if { "-I[lindex [wokparam -v %CSF_TCL_INCLUDE] 0]" != "$partopt "} {
-               if { "-I[lindex [wokparam -v %CSF_JAVA_INCLUDE] 0]" != "$partopt "} {
-                 set needparam "$needparam $partopt"
-                }
-           }
-        }
-        foreach f $lsrc {
-           #puts " f = $f"
-           if { ![info exists written([file tail $f])] } {
-               set written([file tail $f]) 1
-               append files "\t\t\t\t<File\n"
-               append files "\t\t\t\t\tRelativePath=\"..\\..\\..\\[wokUtils:EASY:bs1 [wokUtils:FILES:wtail $f 3]]\">\n"
-                append files "\t\t\t\t\t<FileConfiguration\n"
-                append files "\t\t\t\t\t\tName=\"Debug\|x64\">\n"
-                append files "\t\t\t\t\t\t<Tool\n"
-                append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-                if {$needparam != ""} {
-                  append files "\t\t\t\t\t\t\tAdditionalOptions=\""
-                  foreach paramm $needparam {
-                     append files "$paramm "
-                  }
-                  append files "\"\n"
-                }
-                append files "\t\t\t\t\t\t\tOptimization=\"0\"\n"
-               append files "\t\t\t\t\t\t\t[format $fmtcpp $xlo $xlo $xlo]\n"
-                append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-                append files "\t\t\t\t\t</FileConfiguration>\n"
-                append files "\t\t\t\t\t<FileConfiguration\n"
-                append files "\t\t\t\t\t\tName=\"Release\|x64\">\n"
-                append files "\t\t\t\t\t\t<Tool\n"
-                append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-                if {$needparam != ""} {
-                  append files "\t\t\t\t\t\t\tAdditionalOptions=\""
-                  foreach paramm $needparam {
-                     append files "$paramm "
-                  }
-                  append files "\"\n"
-                }
-                append files "\t\t\t\t\t\t\tOptimization=\"2\"\n"
-               append files "\t\t\t\t\t\t\t[format $fmtcpp $xlo $xlo $xlo]\n"
-                append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-                append files "\t\t\t\t\t</FileConfiguration>\n"
-               append files "\t\t\t\t</File>\n"
-           } else {
-               puts "Warning : in vcproj more than one occurences for [file tail $f]"
-           }
-       }
-    append files "\t\t\t</Filter>"
-    }
-    
-    regsub -all -- {__FILES__} $temp1 $files temp2
-    puts $fp $temp2
-    close $fp
-    return $fvcproj
-}
 ;#
 ;# Create file tkloc.dsp for a executable "console" application
 ;# in dir return the full path of the created file
 ;#
 proc osutils:vc6x { dir tkloc {tmplat {} } {fmtcpp {} } } {
-    if { $tmplat == {} } {set tmplat [osutils:vc6:readtemplatex]}
+    if { $tmplat == {} } {set tmplat [osutils:readtemplate vc6x "MS VC++ 6.0 project (executable)"]}
     if { $fmtcpp == {} } {set fmtcpp [osutils:vc6:fmtcppx]}
-    foreach f [osutils:tk:files $tkloc osutils:am:compilable 0] {
+    foreach f [osutils:tk:files $tkloc osutils:compilable 0] {
         set tf [file rootname [file tail $f]]   
         set fp [open [set fdsp [file join $dir ${tf}.dsp]] w]
         puts $fdsp
         fconfigure $fp -translation crlf
-        set l_compilable [osutils:vc6:compilable]
+        set l_compilable [osutils:compilable]
         regsub -all -- {__XQTNAM__} $tmplat $tf  temp0
         set tkused ""
         puts [LibToLinkX [woklocate -u $tkloc] $tf]
@@ -959,7 +670,7 @@ proc osutils:vc6x { dir tkloc {tmplat {} } {fmtcpp {} } } {
        puts "$tf requires  $tkused"
        regsub -all -- {__TKDEP__} $temp2  $tkused temp3
        set files ""
-       ;#set lsrc   [osutils:tk:files $tkloc osutils:am:compilable 0]
+       ;#set lsrc   [osutils:tk:files $tkloc osutils:compilable 0]
        ;#foreach f $lsrc {
        if { ![info exists written([file tail $f])] } {
            set written([file tail $f]) 1
@@ -981,188 +692,129 @@ proc osutils:vc6x { dir tkloc {tmplat {} } {fmtcpp {} } } {
     }
     return $fout
 }
-proc osutils:vc7x { dir tkloc {tmplat {} } {fmtcpp {} } } {
-    if { $tmplat == {} } {set tmplat [osutils:vc7:readtemplatex]}
-    if { $fmtcpp == {} } {set fmtcpp [osutils:vc7:fmtcppx]}
-    set fout {}
-    foreach f [osutils:tk:files $tkloc osutils:am:compilable 0] {
-        puts "1"
-        set tf [file rootname [file tail $f]]   
-        set l_compilable [osutils:vc7:compilable]
-        regsub -all -- {__XQTNAM__} $tmplat $tf  temp0
-        set tkused ""
-        foreach tkx [LibToLinkX [woklocate -u $tkloc] $tf] {
-         if {[uinfo -t [woklocate -u $tkx]] == "toolkit"} {
-           append tkused "${tkx}.lib "
-         }
-          if {[lsearch [w_info -l] $tkx] == "-1"} {
-           append tkused "${tkx}.lib "
-         }
-        }
-       wokparam -l CSF
-       foreach tk [LibToLinkX [woklocate -u $tkloc] $tf] {
-         foreach element [osutils:tk:hascsf [woklocate -p ${tk}:source:EXTERNLIB [wokcd]]]  {
-           if {[wokparam -t %$element] != 0} {
-                set elemlist [wokparam -v "%$element"]
-               set felem [file tail [lindex $elemlist 0]] 
-             if {[lsearch $tkused $felem] == "-1"} {
-               if {$felem != "\{\}"} {
-                    #puts "was found $element $felem"     
-                   set tkused [concat $tkused $felem]
-               }
-             }   
-           }
-        }
-       }
-       if {[wokparam -v %WOKSteps_exec_link [woklocate -u $tkloc]] == "#WOKStep_DLLink(exec.tks)"} { 
-           set tkused [concat $tkused "\/dll"]
-           set binext 2
-       } else {
-           set binext 1
-       }
-       #puts "$tf requires  $tkused"
-       regsub -all -- {__TKDEP__} $temp0  $tkused temp3
-       set files ""
-       ;#set lsrc   [osutils:tk:files $tkloc osutils:am:compilable 0]
-       ;#foreach f $lsrc {
-       if { ![info exists written([file tail $f])] } {
-           set written([file tail $f]) 1
-            append files "\t\t\t<Filter\n"
-            append files "\t\t\t\tName=\"$tkloc\"\n"
-           append files "\t\t\t\tFilter=\"\">\n"
-            append files "\t\t\t\t<File\n"
-           append files "\t\t\t\t\tRelativePath=\"..\\..\\..\\[wokUtils:EASY:bs1 [wokUtils:FILES:wtail $f 3]]\">\n"
-            append files "\t\t\t\t\t<FileConfiguration\n"
-            append files "\t\t\t\t\t\tName=\"Debug|Win32\">\n"
-            append files "\t\t\t\t\t\t<Tool\n"
-            append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-            append files "\t\t\t\t\t\t\tOptimization=\"0\"\n"
-            append files "\t\t\t\t\t\t\t[format $fmtcpp $tkloc $tkloc $tkloc] \n"
-           append files "\t\t\t\t\t\t\tBasicRuntimeChecks=\"3\"\n"
-            append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-            append files "\t\t\t\t\t</FileConfiguration>\n"
-            append files "\t\t\t\t\t<FileConfiguration\n"
-            append files "\t\t\t\t\t\tName=\"Release|Win32\">\n"
-            append files "\t\t\t\t\t\t<Tool\n"
-            append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-            append files "\t\t\t\t\t\t\tOptimization=\"2\"\n"
-            append files "\t\t\t\t\t\t\t[format $fmtcpp $tkloc $tkloc $tkloc] \n"
-            append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-            append files "\t\t\t\t\t</FileConfiguration>\n"
-            append files "\t\t\t\t</File>\n"
-            append files "\t\t\t</Filter>\n"
-       } else {
-           puts "Warning : in dsp more than one occurences for [file tail $f]"
+
+# Generate entry for one source file in Visual Studio project file
+proc osutils:vcproj:file { vcversion plat file inc params } {
+    set conf [osutils:vcsolution:confname $vcversion $plat]
+
+    set files ""
+    append text "\t\t\t\t<File\n"
+    append text "\t\t\t\t\tRelativePath=\"..\\..\\..\\[wokUtils:EASY:bs1 [wokUtils:FILES:wtail $file 3]]\">\n"
+    append text "\t\t\t\t\t<FileConfiguration\n"
+    append text "\t\t\t\t\t\tName=\"Debug\|$conf\">\n"
+    append text "\t\t\t\t\t\t<Tool\n"
+    append text "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
+    if { $params != "" } {
+       append text "\t\t\t\t\t\t\tAdditionalOptions=\""
+       foreach param $params {
+           append text "$param "
        }
-       ;#}
-    #puts "$temp3 $files"
-    regsub -all -- {__FILES__} $temp3 $files temp4
-    regsub -all -- {__CONF__} $temp4 $binext temp5
-    set fp [open [set fdsp [file join $dir ${tf}.vcproj]] w]
-    fconfigure $fp -translation crlf
-    puts $fp $temp5
-    set fout [lappend fout $fdsp]
-    close $fp
-   }
-   return $fout
+       append text "\"\n"
+    }
+    append text "\t\t\t\t\t\t\tOptimization=\"0\"\n"
+    append text "\t\t\t\t\t\t\t$inc\n"
+    append text "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
+    append text "\t\t\t\t\t</FileConfiguration>\n"
+    append text "\t\t\t\t\t<FileConfiguration\n"
+    append text "\t\t\t\t\t\tName=\"Release\|$conf\">\n"
+    append text "\t\t\t\t\t\t<Tool\n"
+    append text "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
+    if { $params != "" } {
+       append text "\t\t\t\t\t\t\tAdditionalOptions=\""
+       foreach param $params {
+           append text "$param "
+       }
+       append text "\"\n"
+    }
+    append text "\t\t\t\t\t\t\tOptimization=\"2\"\n"
+    append text "\t\t\t\t\t\t\t$inc\n"
+    append text "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
+    append text "\t\t\t\t\t</FileConfiguration>\n"
+    append text "\t\t\t\t</File>\n"
+    return $text
 }
 
-proc osutils:vc8x { dir tkloc {tmplat {} } {fmtcpp {} } } {
-    if { $tmplat == {} } {set tmplat [osutils:vc8:readtemplatex]}
-    if { $fmtcpp == {} } {set fmtcpp [osutils:vc8:fmtcppx]}
-    set fout {}
-    foreach f [osutils:tk:files $tkloc osutils:am:compilable 0] {
-        puts "1"
-        set tf [file rootname [file tail $f]]   
-        set l_compilable [osutils:vc8:compilable]
-        regsub -all -- {__XQTNAM__} $tmplat $tf  temp0
-        set tkused ""
-        foreach tkx [LibToLinkX [woklocate -u $tkloc] $tf] {
-         if {[uinfo -t [woklocate -u $tkx]] == "toolkit"} {
-           append tkused "${tkx}.lib "
-         }
-          if {[lsearch [w_info -l] $tkx] == "-1"} {
-           append tkused "${tkx}.lib "
-         }
-        }
-       wokparam -l CSF
-       foreach tk [LibToLinkX [woklocate -u $tkloc] $tf] {
-         foreach element [osutils:tk:hascsf [woklocate -p ${tk}:source:EXTERNLIB [wokcd]]]  {
+# Generate Visual Studio project file for toolkit
+proc osutils:vcproj { vc plat dir tkloc {tmplat {} } {fmtcpp {} } } {
+    if { $tmplat == {} } {set tmplat [osutils:vcproj:readtemplate $vc $plat 0]}
+    if { $fmtcpp == {} } {set fmtcpp [osutils:vcproj:fmtcpp]}
+
+    set l_compilable [osutils:compilable]
+    regsub -all -- {__TKNAM__} $tmplat $tkloc  temp0
+    set tkused ""
+    foreach tkx [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] {
+       append tkused "${tkx}.lib "
+    }
+    wokparam -l CSF
+    foreach tk [lappend [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]] $tkloc] {
+       foreach element [osutils:tk:hascsf [woklocate -p ${tk}:source:EXTERNLIB [wokcd]]] {
            if {[wokparam -t %$element] != 0} {
-                set elemlist [wokparam -v "%$element"]
-               set felem [file tail [lindex $elemlist 0]] 
+               set felem [file tail [lindex [wokparam -v "%$element"] 0]]
              if {[lsearch $tkused $felem] == "-1"} {
                if {$felem != "\{\}"} {
-                    #puts "was found $element $felem"     
                    set tkused [concat $tkused $felem]
                }
-             }   
+            }   
+          }
+       }
+    }
+
+    puts "$tkloc requires  $tkused"
+    regsub -all -- {__TKDEP__} $temp0  $tkused temp1
+    set files ""
+    set listloc [osutils:tk:units [woklocate -u $tkloc]]
+    set resultloc [osutils:justwnt $listloc]
+    if [array exists written] { unset written }
+    set fxloparamfcxx [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] ] 2]
+    set fxloparamfc   [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options   [w_info -f]] 0]] [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] ] 2]
+    set fxloparam    "[union [split $fxloparamfcxx] [split $fxloparamfc]]"
+    foreach fxlo $resultloc {
+        set xlo [wokinfo -n $fxlo]        
+        set lsrc   [osutils:tk:files $xlo osutils:compilable 0]
+       set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0]] ] 2]"
+        set fxloparam "$fxloparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options]   0]] [split [lindex [wokparam -v %CMPLRS_C_Options $fxlo]   0]] ] 2]"
+        set needparam ""
+        foreach partopt $fxloparam {
+           if { "-I[lindex [wokparam -v %CSF_TCL_INCLUDE] 0]" != "$partopt "} {
+               if { "-I[lindex [wokparam -v %CSF_JAVA_INCLUDE] 0]" != "$partopt "} {
+                 set needparam "$needparam $partopt"
+                }
+           }
+        }
+       append files "\t\t\t<Filter\n"
+        append files "\t\t\t\tName=\"${xlo}\"\n"
+        append files "\t\t\t\tFilter=\"\">\n"
+        foreach f $lsrc {
+           #puts " f = $f"
+           if { ![info exists written([file tail $f])] } {
+               set written([file tail $f]) 1
+               append files [osutils:vcproj:file $vc $plat $f [format $fmtcpp $xlo $xlo $xlo] $needparam]
+           } else {
+               puts "Warning : in vcproj more than one occurences for [file tail $f]"
            }
-        }
-       }
-       if {[wokparam -v %WOKSteps_exec_link [woklocate -u $tkloc]] == "#WOKStep_DLLink(exec.tks)"} { 
-           set tkused [concat $tkused "\/dll"]
-           set binext 2
-       } else {
-           set binext 1
-       }
-       #puts "$tf requires  $tkused"
-       regsub -all -- {__TKDEP__} $temp0  $tkused temp3
-       set files ""
-       ;#set lsrc   [osutils:tk:files $tkloc osutils:am:compilable 0]
-       ;#foreach f $lsrc {
-       if { ![info exists written([file tail $f])] } {
-           set written([file tail $f]) 1
-            append files "\t\t\t<Filter\n"
-            append files "\t\t\t\tName=\"$tkloc\"\n"
-           append files "\t\t\t\tFilter=\"\">\n"
-            append files "\t\t\t\t<File\n"
-           append files "\t\t\t\t\tRelativePath=\"..\\..\\..\\[wokUtils:EASY:bs1 [wokUtils:FILES:wtail $f 3]]\">\n"
-            append files "\t\t\t\t\t<FileConfiguration\n"
-            append files "\t\t\t\t\t\tName=\"Debug|Win32\">\n"
-            append files "\t\t\t\t\t\t<Tool\n"
-            append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-            append files "\t\t\t\t\t\t\tOptimization=\"0\"\n"
-            append files "\t\t\t\t\t\t\t[format $fmtcpp $tkloc $tkloc $tkloc] \n"
-           append files "\t\t\t\t\t\t\tBasicRuntimeChecks=\"3\"\n"
-            append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-            append files "\t\t\t\t\t</FileConfiguration>\n"
-            append files "\t\t\t\t\t<FileConfiguration\n"
-            append files "\t\t\t\t\t\tName=\"Release|Win32\">\n"
-            append files "\t\t\t\t\t\t<Tool\n"
-            append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-            append files "\t\t\t\t\t\t\tOptimization=\"2\"\n"
-            append files "\t\t\t\t\t\t\t[format $fmtcpp $tkloc $tkloc $tkloc] \n"
-            append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-            append files "\t\t\t\t\t</FileConfiguration>\n"
-            append files "\t\t\t\t</File>\n"
-            append files "\t\t\t</Filter>\n"
-       } else {
-           puts "Warning : in dsp more than one occurences for [file tail $f]"
        }
-       ;#}
-    #puts "$temp3 $files"
-    regsub -all -- {__FILES__} $temp3 $files temp4
-    regsub -all -- {__CONF__} $temp4 $binext temp5
-    set fp [open [set fdsp [file join $dir ${tf}.vcproj]] w]
+       append files "\t\t\t</Filter>\n"
+    }
+    
+    regsub -all -- {__FILES__} $temp1 $files temp2
+
+    # write file
+    set fp [open [set fvcproj [file join $dir ${tkloc}.vcproj]] w]
     fconfigure $fp -translation crlf
-    puts $fp $temp5
-    set fout [lappend fout $fdsp]
+    puts $fp $temp2
     close $fp
-   }
-   return $fout
+
+    return $fvcproj
 }
 
-proc osutils:vc8x_64 { dir tkloc {tmplat {} } {fmtcpp {} } } {
-    if { $tmplat == {} } {set tmplat [osutils:vc8_64:readtemplatex]}
-    if { $fmtcpp == {} } {set fmtcpp [osutils:vc8_64:fmtcppx]}
+# Generate Visual Studio project file for executable
+proc osutils:vcprojx { vc plat dir tkloc {tmplat {} } {fmtcpp {} } } {
+    if { $tmplat == {} } {set tmplat [osutils:vcproj:readtemplate $vc $plat 1]}
+    if { $fmtcpp == {} } {set fmtcpp [osutils:vcproj:fmtcppx]}
     set fout {}
-    foreach f [osutils:tk:files $tkloc osutils:am:compilable 0] {
-        puts "1"
+    foreach f [osutils:tk:files $tkloc osutils:compilable 0] {
         set tf [file rootname [file tail $f]]   
-        set l_compilable [osutils:vc8_64:compilable]
+        set l_compilable [osutils:compilable]
         regsub -all -- {__XQTNAM__} $tmplat $tf  temp0
         set tkused ""
         foreach tkx [LibToLinkX [woklocate -u $tkloc] $tf] {
@@ -1174,7 +826,7 @@ proc osutils:vc8x_64 { dir tkloc {tmplat {} } {fmtcpp {} } } {
          }
         }
        wokparam -l CSF
-       foreach tk [LibToLinkX [woklocate -u $tkloc] $tf] {
+       foreach tk [LibToLinkX [woklocate -u $tkloc] $tf] {
          foreach element [osutils:tk:hascsf [woklocate -p ${tk}:source:EXTERNLIB [wokcd]]]  {
            if {[wokparam -t %$element] != 0} {
                 set elemlist [wokparam -v "%$element"]
@@ -1187,64 +839,44 @@ proc osutils:vc8x_64 { dir tkloc {tmplat {} } {fmtcpp {} } } {
              }   
            }
         }
-       }
-       if {[wokparam -v %WOKSteps_exec_link [woklocate -u $tkloc]] == "#WOKStep_DLLink(exec.tks)"} { 
-           set tkused [concat $tkused "\/dll"]
-           set binext 2
-       } else {
-           set binext 1
-       }
-       #puts "$tf requires  $tkused"
-       regsub -all -- {__TKDEP__} $temp0  $tkused temp3
-       set files ""
-       ;#set lsrc   [osutils:tk:files $tkloc osutils:am:compilable 0]
-       ;#foreach f $lsrc {
+       }
+       if {[wokparam -v %WOKSteps_exec_link [woklocate -u $tkloc]] == "#WOKStep_DLLink(exec.tks)"} { 
+           set tkused [concat $tkused "\/dll"]
+           set binext 2
+       } else {
+           set binext 1
+       }
+       #puts "$tf requires  $tkused"
+       regsub -all -- {__TKDEP__} $temp0  $tkused temp3
+       set files ""
+       ;#set lsrc   [osutils:tk:files $tkloc osutils:compilable 0]
        if { ![info exists written([file tail $f])] } {
            set written([file tail $f]) 1
             append files "\t\t\t<Filter\n"
             append files "\t\t\t\tName=\"$tkloc\"\n"
            append files "\t\t\t\tFilter=\"\">\n"
-            append files "\t\t\t\t<File\n"
-           append files "\t\t\t\t\tRelativePath=\"..\\..\\..\\[wokUtils:EASY:bs1 [wokUtils:FILES:wtail $f 3]]\">\n"
-            append files "\t\t\t\t\t<FileConfiguration\n"
-            append files "\t\t\t\t\t\tName=\"Debug|x64\">\n"
-            append files "\t\t\t\t\t\t<Tool\n"
-            append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-            append files "\t\t\t\t\t\t\tOptimization=\"0\"\n"
-            append files "\t\t\t\t\t\t\t[format $fmtcpp $tkloc $tkloc $tkloc] \n"
-           append files "\t\t\t\t\t\t\tBasicRuntimeChecks=\"3\"\n"
-            append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-            append files "\t\t\t\t\t</FileConfiguration>\n"
-            append files "\t\t\t\t\t<FileConfiguration\n"
-            append files "\t\t\t\t\t\tName=\"Release|x64\">\n"
-            append files "\t\t\t\t\t\t<Tool\n"
-            append files "\t\t\t\t\t\t\tName=\"VCCLCompilerTool\"\n"
-            append files "\t\t\t\t\t\t\tOptimization=\"2\"\n"
-            append files "\t\t\t\t\t\t\t[format $fmtcpp $tkloc $tkloc $tkloc] \n"
-            append files "\t\t\t\t\t\t\tCompileAs=\"0\"/>\n"
-            append files "\t\t\t\t\t</FileConfiguration>\n"
-            append files "\t\t\t\t</File>\n"
-            append files "\t\t\t</Filter>\n"
+           append files [osutils:vcproj:file $vc $plat $f [format $fmtcpp $tkloc $tkloc $tkloc] ""]
+            append files "\t\t\t</Filter>"
        } else {
            puts "Warning : in dsp more than one occurences for [file tail $f]"
        }
-       ;#}
-    #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
+       #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 $temp6
+       close $fp
+
+       set fout [lappend fout $fdsp]
     }
-    set fp [open [set fdsp [file join $dir ${tf}.vcproj]] w]
-    fconfigure $fp -translation crlf
-    puts $fp $temp6
-    set fout [lappend fout $fdsp]
-    close $fp
-   }
-   return $fout
+    return $fout
 }
 
 ;#
@@ -1253,11 +885,11 @@ proc osutils:vc8x_64 { dir tkloc {tmplat {} } {fmtcpp {} } } {
 ;#
 proc osutils:mkmak { dir tkloc {tmplat {} } {fmtcpp {} } } {
     puts $tkloc
-    if { $tmplat == {} } {set tmplat [osutils:mak:readtemplate]}
+    if { $tmplat == {} } {set tmplat [osutils:readtemplate mak "MS VC++ makefile"]}
     if { $fmtcpp == {} } {set fmtcpp [osutils:mak:fmtcpp]}
     set fp [open [set fdsp [file join $dir ${tkloc}.mak]] w]
     fconfigure $fp -translation crlf
-    set l_compilable [osutils:vc6:compilable]
+    set l_compilable [osutils:compilable]
     set tkused [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]]
     set listloc [osutils:tk:units [woklocate -u $tkloc]]
     set resultloc [osutils:justwnt $listloc]
@@ -1290,7 +922,7 @@ proc osutils:mkmak { dir tkloc {tmplat {} } {fmtcpp {} } } {
     if [array exists written] { unset written }
     foreach fxlo $resultloc {
       set xlo [wokinfo -n $fxlo]
-      set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
+      set lsrc   [osutils:tk:files $xlo osutils:compilable 0]
       set fxlocxxparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0]] ] 2]
       set fxlocparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options] 0]] [split [lindex [wokparam -v %CMPLRS_C_Options $fxlo] 0]] ] 2]
       if {[lsearch [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0] "-I[lrange [lindex [wokparam -v %CSF_TCL_INCLUDE] 0] 0 end]"] != -1} {
@@ -1346,7 +978,7 @@ proc osutils:mkmak { dir tkloc {tmplat {} } {fmtcpp {} } } {
     if [array exists written] { unset written }
     foreach fxlo $resultloc {
         set xlo [wokinfo -n $fxlo]
-        set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
+        set lsrc   [osutils:tk:files $xlo osutils:compilable 0]
         foreach srcfile $lsrc {
           if { ![info exists written([file tail $srcfile])] } {
            set written([file tail $srcfile]) 1
@@ -1384,7 +1016,7 @@ proc osutils:mkmak { dir tkloc {tmplat {} } {fmtcpp {} } } {
  
    foreach fxlo $resultloc {
       set xlo [wokinfo -n $fxlo]
-      set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
+      set lsrc   [osutils:tk:files $xlo osutils:compilable 0]
 
       foreach srcfile $lsrc {
         if { ![info exists written([file tail $srcfile])] } {
@@ -1408,7 +1040,7 @@ proc osutils:mkmak { dir tkloc {tmplat {} } {fmtcpp {} } } {
     if [array exists written] { unset written }
     foreach fxlo $resultloc {
         set xlo [wokinfo -n $fxlo]
-        set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
+        set lsrc   [osutils:tk:files $xlo osutils:compilable 0]
         foreach srcfile $lsrc {
           if { ![info exists written([file tail $srcfile])] } {
            set written([file tail $srcfile]) 1
@@ -1423,7 +1055,7 @@ proc osutils:mkmak { dir tkloc {tmplat {} } {fmtcpp {} } } {
     if [array exists written] { unset written }
     foreach fxlo $resultloc {
       set xlo [wokinfo -n $fxlo]
-      set lsrc   [osutils:tk:files $xlo osutils:am:compilable 0]
+      set lsrc   [osutils:tk:files $xlo osutils:compilable 0]
       set fxlocxxparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_CXX_Options] 0]] [split [lindex [wokparam -v %CMPLRS_CXX_Options $fxlo] 0]] ] 2]
       set fxlocparam [lindex [intersect3 [split [lindex [wokparam -v %CMPLRS_C_Options] 0]] [split [lindex [wokparam -v %CMPLRS_C_Options $fxlo] 0]] ] 2]
       if {$tclused == 1} {
@@ -1491,15 +1123,15 @@ proc osutils:mkmak { dir tkloc {tmplat {} } {fmtcpp {} } } {
 }
 
 proc osutils:mkmakx { dir tkloc {tmplat {} } {fmtcpp {} } } {
-    if { $tmplat == {} } {set tmplat [osutils:mak:readtemplatex]}
+    if { $tmplat == {} } {set tmplat [osutils:readtemplate makx "MS VC++ makefile (executable)"]}
     if { $fmtcpp == {} } {set fmtcpp [osutils:mak:fmtcppx]}
-    foreach f [osutils:tk:files $tkloc osutils:am:compilable 0] {
+    foreach f [osutils:tk:files $tkloc osutils:compilable 0] {
         set tf [file rootname [file tail $f]]   
         set fp [open [set fdsp [file join $dir ${tf}.mak]] w]
         puts $fdsp
         set tclused 0
         fconfigure $fp -translation crlf
-        set l_compilable [osutils:vc6:compilable]
+        set l_compilable [osutils:compilable]
         regsub -all -- {__XQTNAM__} $tmplat $tf  temp0
         set tkused ""
         puts [LibToLinkX [woklocate -u $tkloc] $tf]
@@ -1604,10 +1236,10 @@ proc osutils:tk:mkam { dir tkloc } {
        return {}
     }
 
-    set tmplat [osutils:am:readtemplate]
+    set tmplat [osutils:readtemplate mam "Makefile.am"]
     set lpkgs  [osutils:justunix [wokUtils:FILES:FileToList $pkgs]]
     set close  [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]]
-    set lsrc   [lsort [osutils:tk:files $tkloc osutils:am:compilable 1 osutils:justunix]]
+    set lsrc   [lsort [osutils:tk:files $tkloc osutils:compilable 1 osutils:justunix]]
     set lobj   [wokUtils:LIST:sanspoint $lsrc]
 
     set lcsf   [osutils:tk:hascsf [woklocate -p ${tkloc}:source:EXTERNLIB [wokcd]]]
@@ -1648,7 +1280,7 @@ proc osutils:tk:mkam { dir tkloc } {
 
     catch { unset temp0 temp1 temp2 temp3 temp4 temp5 temp6 temp7}
 
-    #set tmplat [osutils:in:readtemplate]
+    #set tmplat [osutils:readtemplate min "Makefile.in"]
     
     #regsub -all -- {__TKNAM__} "$tmplat" "$tkloc"   temp0
     #if { $close != {} } {
@@ -1683,9 +1315,9 @@ proc osutils:tk:mkamx { dir tkloc } {
          puts stderr "osutils:tk:mkamx : Error. File EXTERNLIB not found for executable $tkloc."
        #return {}
     }
-    set tmplat [osutils:am:readtemplatex]
+    set tmplat [osutils:readtemplate mamx "Makefile.am (executable)"]
     set close  [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]]
-    set lsrc   [lsort [osutils:tk:files $tkloc osutils:am:compilable 1 osutils:justunix]]
+    set lsrc   [lsort [osutils:tk:files $tkloc osutils:compilable 1 osutils:justunix]]
     set lobj   [wokUtils:LIST:sanspoint $lsrc]
     set CXXList {}
     foreach SourceFile [uinfo -f -T source [woklocate -u $tkloc]] {    
@@ -1750,9 +1382,9 @@ proc osutils:tk:mkamx { dir tkloc } {
        puts stderr "osutils:tk:mkamx : Error. File EXTERNLIB not found for executable $tkloc."
        #return {}
     }
-    set tmplat [osutils:am:readtemplatex]
+    set tmplat [osutils:readtemplate mamx "Makefile.am (executable)"]
     set close  [wokUtils:LIST:Purge [osutils:tk:close [woklocate -u $tkloc]]]
-    set lsrc   [lsort [osutils:tk:files $tkloc osutils:am:compilable 1 osutils:justunix]]
+    set lsrc   [lsort [osutils:tk:files $tkloc osutils:compilable 1 osutils:justunix]]
     set lobj   [wokUtils:LIST:sanspoint $lsrc]
     set CXXList {}
     foreach SourceFile [uinfo -f -T source [woklocate -u $tkloc]] {    
@@ -1809,7 +1441,7 @@ proc osutils:tk:mkamx { dir tkloc } {
 
     catch { unset temp0 temp1 temp2 temp3 temp4 temp5}
 
-   # set tmplat [osutils:in:readtemplatex]
+   # set tmplat [osutils:readtemplate minx "Makefile.in (executable)"]
     
    # regsub -all -- {__XQTNAM__} "$tmplat" "$tkloc"   temp0
    # if { $close != {} } {
@@ -1840,12 +1472,6 @@ proc osutils:tk:mkamx { dir tkloc } {
 ;#
 ;#  ((((((((((((( Formats in Makefile.am )))))))))))))
 ;#
-;# List extensions of files compilable in automake
-;#
-proc osutils:am:compilable { } {
-    return [list .c .cxx .cpp]
-}
-;#
 ;# Used to replace the string __VPATH__ in Makefile.am
 ;# l is the list of the units in a toolkit.
 ;#
index 9c7c1d6970466ecaa931d3ff9bdd6b6aa42ea726..9d36c2a8e84721ed0aa6565768177d22981db6ad 100755 (executable)
-<?xml version="1.0" encoding="windows-1251"?>\r
-<VisualStudioProject\r
-       ProjectType="Visual C++"\r
-       Version="7.10"\r
-       Name="__TKNAM__"\r
-       SccProjectName=""\r
-       SccLocalPath="">\r
-       <Platforms>\r
-               <Platform\r
-                       Name="Win32"/>\r
-       </Platforms>\r
-       <Configurations>\r
-               <Configuration\r
-                       Name="Release|Win32"\r
-                       OutputDirectory=".\..\..\..\win32\bin"\r
-                       IntermediateDirectory=".\..\..\..\win32\obj\__TKNAM__"\r
-                       ConfigurationType="2"\r
-                       UseOfMFC="0"\r
-                       ATLMinimizesCRunTimeLibraryUsage="FALSE">\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               AdditionalOptions="/DWNT"\r
-                               Optimization="2"\r
-                               InlineFunctionExpansion="1"\r
-                               PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WNT;No_Exception;CSFDB"\r
-                               StringPooling="TRUE"\r
-                               RuntimeLibrary="2"\r
-                               EnableFunctionLevelLinking="TRUE"\r
-                               PrecompiledHeaderFile=".\..\..\..\win32\obj\__TKNAM__/__TKNAM__.pch"\r
-                               AssemblerListingLocation=".\..\..\..\win32\obj\__TKNAM__/"\r
-                               ObjectFile=".\..\..\..\win32\obj\__TKNAM__/"\r
-                               ProgramDataBaseFileName=".\..\..\..\win32\obj\__TKNAM__/"\r
-                               WarningLevel="3"\r
-                               SuppressStartupBanner="TRUE"/>\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"/>\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"\r
-                               OutputFile=".\..\..\..\win32\bin/__TKNAM__.dll"\r
-                               LinkIncremental="1"\r
-                               SuppressStartupBanner="TRUE"\r
-                               AdditionalLibraryDirectories="..\..\..\win32\lib"\r
-                               ProgramDatabaseFile=".\..\..\..\win32\bin/__TKNAM__.pdb"\r
-                               SubSystem="2"\r
-                               ImportLibrary="..\..\..\win32\lib\__TKNAM__.lib"\r
-                               TargetMachine="1"/>\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               MkTypLibCompatible="TRUE"\r
-                               SuppressStartupBanner="TRUE"\r
-                               TargetEnvironment="1"\r
-                               TypeLibraryName=".\..\..\..\win32\bin/__TKNAM__.tlb"\r
-                               HeaderFileName=""/>\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"/>\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"/>\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"/>\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               Culture="1036"/>\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"/>\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"/>\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"/>\r
-                       <Tool\r
-                               Name="VCManagedWrapperGeneratorTool"/>\r
-                       <Tool\r
-                               Name="VCAuxiliaryManagedWrapperGeneratorTool"/>\r
-               </Configuration>\r
-               <Configuration\r
-                       Name="Debug|Win32"\r
-                       OutputDirectory=".\..\..\..\win32\bind"\r
-                       IntermediateDirectory=".\..\..\..\win32\objd\__TKNAM__"\r
-                       ConfigurationType="2"\r
-                       UseOfMFC="0"\r
-                       ATLMinimizesCRunTimeLibraryUsage="FALSE"\r
-                       ManagedExtensions="FALSE"\r
-                       WholeProgramOptimization="FALSE">\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               AdditionalOptions="/DWNT"\r
-                               Optimization="0"\r
-                               InlineFunctionExpansion="1"\r
-                               PreprocessorDefinitions="DEB;_DEBUG;WIN32;_WINDOWS;WNT;CSFDB"\r
-                               RuntimeLibrary="3"\r
-                               PrecompiledHeaderFile=".\..\..\..\win32\objd\__TKNAM__/__TKNAM__.pch"\r
-                               AssemblerListingLocation=".\..\..\..\win32\objd\__TKNAM__/"\r
-                               ObjectFile=".\..\..\..\win32\objd\__TKNAM__/"\r
-                               ProgramDataBaseFileName=".\..\..\..\win32\objd\__TKNAM__/"\r
-                               WarningLevel="3"\r
-                               SuppressStartupBanner="TRUE"\r
-                               Detect64BitPortabilityProblems="FALSE"\r
-                               DebugInformationFormat="3"\r
-                               CompileAs="0"/>\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"/>\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"\r
-                               OutputFile=".\..\..\..\win32\bind/__TKNAM__.dll"\r
-                               LinkIncremental="1"\r
-                               SuppressStartupBanner="TRUE"\r
-                               AdditionalLibraryDirectories="..\..\..\win32\libd"\r
-                               GenerateDebugInformation="TRUE"\r
-                               ProgramDatabaseFile="..\..\..\win32\bind\__TKNAM__.pdb"\r
-                               SubSystem="2"\r
-                               ImportLibrary="..\..\..\win32\libd\__TKNAM__.lib"/>\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               MkTypLibCompatible="TRUE"\r
-                               SuppressStartupBanner="TRUE"\r
-                               TargetEnvironment="1"\r
-                               TypeLibraryName=".\..\..\..\win32\bind/__TKNAM__.tlb"\r
-                               HeaderFileName=""/>\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"/>\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"/>\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"/>\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               Culture="1036"/>\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"/>\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"/>\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"/>\r
-                       <Tool\r
-                               Name="VCManagedWrapperGeneratorTool"/>\r
-                       <Tool\r
-                               Name="VCAuxiliaryManagedWrapperGeneratorTool"/>\r
-               </Configuration>\r
-       </Configurations>\r
-       <References>\r
-       </References>\r
-       <Files>\r
-               <Filter\r
-                       Name="Source files"\r
-                       Filter="">\r
-                        __FILES__\r
-               </Filter>\r
-       </Files>\r
-       <Globals>\r
-       </Globals>\r
-</VisualStudioProject>\r
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="7.10"
+       Name="__TKNAM__"
+       SccProjectName=""
+       SccLocalPath="">
+       <Platforms>
+               <Platform
+                       Name="Win32"/>
+       </Platforms>
+       <Configurations>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory=".\..\..\..\win32\bin"
+                       IntermediateDirectory=".\..\..\..\win32\obj\__TKNAM__"
+                       ConfigurationType="2"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="FALSE">
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalOptions="/DWNT"
+                               Optimization="2"
+                               InlineFunctionExpansion="1"
+                               PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WNT;No_Exception;CSFDB"
+                               StringPooling="TRUE"
+                               RuntimeLibrary="2"
+                               EnableFunctionLevelLinking="TRUE"
+                               PrecompiledHeaderFile=".\..\..\..\win32\obj\__TKNAM__/__TKNAM__.pch"
+                               AssemblerListingLocation=".\..\..\..\win32\obj\__TKNAM__/"
+                               ObjectFile=".\..\..\..\win32\obj\__TKNAM__/"
+                               ProgramDataBaseFileName=".\..\..\..\win32\obj\__TKNAM__/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="TRUE"/>
+                       <Tool
+                               Name="VCCustomBuildTool"/>
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"
+                               OutputFile=".\..\..\..\win32\bin/__TKNAM__.dll"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="TRUE"
+                               AdditionalLibraryDirectories="..\..\..\win32\lib"
+                               ProgramDatabaseFile=".\..\..\..\win32\bin/__TKNAM__.pdb"
+                               SubSystem="2"
+                               ImportLibrary="..\..\..\win32\lib\__TKNAM__.lib"
+                               TargetMachine="1"/>
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               MkTypLibCompatible="TRUE"
+                               SuppressStartupBanner="TRUE"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\..\..\..\win32\bin/__TKNAM__.tlb"
+                               HeaderFileName=""/>
+                       <Tool
+                               Name="VCPostBuildEventTool"/>
+                       <Tool
+                               Name="VCPreBuildEventTool"/>
+                       <Tool
+                               Name="VCPreLinkEventTool"/>
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               Culture="1036"/>
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"/>
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"/>
+                       <Tool
+                               Name="VCWebDeploymentTool"/>
+                       <Tool
+                               Name="VCManagedWrapperGeneratorTool"/>
+                       <Tool
+                               Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+               </Configuration>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory=".\..\..\..\win32\bind"
+                       IntermediateDirectory=".\..\..\..\win32\objd\__TKNAM__"
+                       ConfigurationType="2"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="FALSE"
+                       ManagedExtensions="FALSE"
+                       WholeProgramOptimization="FALSE">
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalOptions="/DWNT"
+                               Optimization="0"
+                               InlineFunctionExpansion="1"
+                               PreprocessorDefinitions="DEB;_DEBUG;WIN32;_WINDOWS;WNT;CSFDB"
+                               RuntimeLibrary="3"
+                               PrecompiledHeaderFile=".\..\..\..\win32\objd\__TKNAM__/__TKNAM__.pch"
+                               AssemblerListingLocation=".\..\..\..\win32\objd\__TKNAM__/"
+                               ObjectFile=".\..\..\..\win32\objd\__TKNAM__/"
+                               ProgramDataBaseFileName=".\..\..\..\win32\objd\__TKNAM__/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="TRUE"
+                               Detect64BitPortabilityProblems="FALSE"
+                               DebugInformationFormat="3"
+                               CompileAs="0"/>
+                       <Tool
+                               Name="VCCustomBuildTool"/>
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"
+                               OutputFile=".\..\..\..\win32\bind/__TKNAM__.dll"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="TRUE"
+                               AdditionalLibraryDirectories="..\..\..\win32\libd"
+                               GenerateDebugInformation="TRUE"
+                               ProgramDatabaseFile="..\..\..\win32\bind\__TKNAM__.pdb"
+                               SubSystem="2"
+                               ImportLibrary="..\..\..\win32\libd\__TKNAM__.lib"/>
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               MkTypLibCompatible="TRUE"
+                               SuppressStartupBanner="TRUE"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\..\..\..\win32\bind/__TKNAM__.tlb"
+                               HeaderFileName=""/>
+                       <Tool
+                               Name="VCPostBuildEventTool"/>
+                       <Tool
+                               Name="VCPreBuildEventTool"/>
+                       <Tool
+                               Name="VCPreLinkEventTool"/>
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               Culture="1036"/>
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"/>
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"/>
+                       <Tool
+                               Name="VCWebDeploymentTool"/>
+                       <Tool
+                               Name="VCManagedWrapperGeneratorTool"/>
+                       <Tool
+                               Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source files"
+                       Filter="">
+__FILES__
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
index f7efaeb0ddeffe9f9b28c8fac8223c30e8732f60..8fb36ac884d82a9bf4145df42770f3f12afca7ee 100755 (executable)
-<?xml version="1.0" encoding="windows-1251"?>\r
-<VisualStudioProject\r
-       ProjectType="Visual C++"\r
-       Version="8.00"\r
-       Name="__TKNAM__"\r
-       >\r
-       <Platforms>\r
-               <Platform\r
-                       Name="Win32"\r
-               />\r
-       </Platforms>\r
-       <ToolFiles>\r
-       </ToolFiles>\r
-       <Configurations>\r
-               <Configuration\r
-                       Name="Release|Win32"\r
-                       OutputDirectory=".\..\..\..\win32\bin"\r
-                       IntermediateDirectory=".\..\..\..\win32\obj\__TKNAM__"\r
-                       ConfigurationType="2"\r
-                       UseOfMFC="0"\r
-                       ATLMinimizesCRunTimeLibraryUsage="false"\r
-                       >\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               MkTypLibCompatible="true"\r
-                               SuppressStartupBanner="true"\r
-                               TargetEnvironment="1"\r
-                               TypeLibraryName=".\..\..\..\win32\bin/TKernel.tlb"\r
-                               HeaderFileName=""\r
-                       />\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               AdditionalOptions="/DWNT"\r
-                               Optimization="2"\r
-                               InlineFunctionExpansion="1"\r
-                               PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WNT;No_Exception;CSFDB"\r
-                               StringPooling="true"\r
-                               ExceptionHandling="2"\r
-                               RuntimeLibrary="2"\r
-                               EnableFunctionLevelLinking="true"\r
-                               PrecompiledHeaderFile=".\..\..\..\win32\obj\__TKNAM__/__TKNAM__.pch"\r
-                               AssemblerListingLocation=".\..\..\..\win32\obj\__TKNAM__/"\r
-                               ObjectFile=".\..\..\..\win32\obj\__TKNAM__/"\r
-                               ProgramDataBaseFileName=".\..\..\..\win32\obj\__TKNAM__/"\r
-                               WarningLevel="3"\r
-                               SuppressStartupBanner="true"\r
-                               DisableSpecificWarnings="4996"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManagedResourceCompilerTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               Culture="1036"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"\r
-                               OutputFile=".\..\..\..\win32\bin/__TKNAM__.dll"\r
-                               LinkIncremental="1"\r
-                               SuppressStartupBanner="true"\r
-                               AdditionalLibraryDirectories="..\..\..\win32\lib"\r
-                               ProgramDatabaseFile=".\..\..\..\win32\bin/__TKNAM__.pdb"\r
-                               SubSystem="2"\r
-                               ImportLibrary="..\..\..\win32\lib\__TKNAM__.lib"\r
-                               TargetMachine="1"\r
-                       />\r
-                       <Tool\r
-                               Name="VCALinkTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManifestTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXDCMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCBscMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCFxCopTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCAppVerifierTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"\r
-                       />\r
-               </Configuration>\r
-               <Configuration\r
-                       Name="Debug|Win32"\r
-                       OutputDirectory=".\..\..\..\win32\bind"\r
-                       IntermediateDirectory=".\..\..\..\win32\objd\__TKNAM__"\r
-                       ConfigurationType="2"\r
-                       UseOfMFC="0"\r
-                       ATLMinimizesCRunTimeLibraryUsage="false"\r
-                       ManagedExtensions="0"\r
-                       >\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               MkTypLibCompatible="true"\r
-                               SuppressStartupBanner="true"\r
-                               TargetEnvironment="1"\r
-                               TypeLibraryName=".\..\..\..\win32\bind/TKernel.tlb"\r
-                               HeaderFileName=""\r
-                       />\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               AdditionalOptions="/DWNT"\r
-                               Optimization="0"\r
-                               InlineFunctionExpansion="1"\r
-                               PreprocessorDefinitions="DEB;_DEBUG;WIN32;_WINDOWS;WNT;CSFDB"\r
-                               ExceptionHandling="2"\r
-                               RuntimeLibrary="3"\r
-                               PrecompiledHeaderFile=".\..\..\..\win32\objd\__TKNAM__/__TKNAM__.pch"\r
-                               AssemblerListingLocation=".\..\..\..\win32\objd\__TKNAM__/"\r
-                               ObjectFile=".\..\..\..\win32\objd\__TKNAM__/"\r
-                               ProgramDataBaseFileName=".\..\..\..\win32\objd\__TKNAM__/"\r
-                               WarningLevel="3"\r
-                               SuppressStartupBanner="true"\r
-                               Detect64BitPortabilityProblems="false"\r
-                               DebugInformationFormat="3"\r
-                               CompileAs="0"\r
-                               DisableSpecificWarnings="4996"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManagedResourceCompilerTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               Culture="1036"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"\r
-                               OutputFile=".\..\..\..\win32\bind/__TKNAM__.dll"\r
-                               LinkIncremental="1"\r
-                               SuppressStartupBanner="true"\r
-                               AdditionalLibraryDirectories="..\..\..\win32\libd"\r
-                               GenerateDebugInformation="true"\r
-                               ProgramDatabaseFile="..\..\..\win32\bind\__TKNAM__.pdb"\r
-                               SubSystem="2"\r
-                               ImportLibrary="..\..\..\win32\libd\__TKNAM__.lib"\r
-                       />\r
-                       <Tool\r
-                               Name="VCALinkTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManifestTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXDCMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCBscMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCFxCopTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCAppVerifierTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"\r
-                       />\r
-               </Configuration>\r
-       </Configurations>\r
-       <References>\r
-       </References>\r
-       <Files>\r
-               <Filter\r
-                       Name="Source files"\r
-                       >\r
-                        __FILES__\r
-               </Filter>\r
-       </Files>\r
-       <Globals>\r
-       </Globals>\r
-</VisualStudioProject>\r
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8.00"
+       Name="__TKNAM__"
+       >
+       <Platforms>
+               <Platform
+                       Name="Win32"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Release|Win32"
+                       OutputDirectory=".\..\..\..\win32\bin"
+                       IntermediateDirectory=".\..\..\..\win32\obj\__TKNAM__"
+                       ConfigurationType="2"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\..\..\..\win32\bin/__TKNAM__.tlb"
+                               HeaderFileName=""
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalOptions="/DWNT"
+                               Optimization="2"
+                               InlineFunctionExpansion="1"
+                               PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WNT;No_Exception;CSFDB"
+                               StringPooling="true"
+                               ExceptionHandling="2"
+                               RuntimeLibrary="2"
+                               EnableFunctionLevelLinking="true"
+                               PrecompiledHeaderFile=".\..\..\..\win32\obj\__TKNAM__/__TKNAM__.pch"
+                               AssemblerListingLocation=".\..\..\..\win32\obj\__TKNAM__/"
+                               ObjectFile=".\..\..\..\win32\obj\__TKNAM__/"
+                               ProgramDataBaseFileName=".\..\..\..\win32\obj\__TKNAM__/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                               DisableSpecificWarnings="4996"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               Culture="1036"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"
+                               OutputFile=".\..\..\..\win32\bin/__TKNAM__.dll"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="true"
+                               AdditionalLibraryDirectories="..\..\..\win32\lib"
+                               ProgramDatabaseFile=".\..\..\..\win32\bin/__TKNAM__.pdb"
+                               SubSystem="2"
+                               ImportLibrary="..\..\..\win32\lib\__TKNAM__.lib"
+                               TargetMachine="1"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Debug|Win32"
+                       OutputDirectory=".\..\..\..\win32\bind"
+                       IntermediateDirectory=".\..\..\..\win32\objd\__TKNAM__"
+                       ConfigurationType="2"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       ManagedExtensions="0"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\..\..\..\win32\bind/__TKNAM__.tlb"
+                               HeaderFileName=""
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalOptions="/DWNT"
+                               Optimization="0"
+                               InlineFunctionExpansion="1"
+                               PreprocessorDefinitions="DEB;_DEBUG;WIN32;_WINDOWS;WNT;CSFDB"
+                               ExceptionHandling="2"
+                               RuntimeLibrary="3"
+                               PrecompiledHeaderFile=".\..\..\..\win32\objd\__TKNAM__/__TKNAM__.pch"
+                               AssemblerListingLocation=".\..\..\..\win32\objd\__TKNAM__/"
+                               ObjectFile=".\..\..\..\win32\objd\__TKNAM__/"
+                               ProgramDataBaseFileName=".\..\..\..\win32\objd\__TKNAM__/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                               Detect64BitPortabilityProblems="false"
+                               DebugInformationFormat="3"
+                               CompileAs="0"
+                               DisableSpecificWarnings="4996"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               Culture="1036"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="__TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"
+                               OutputFile=".\..\..\..\win32\bind/__TKNAM__.dll"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="true"
+                               AdditionalLibraryDirectories="..\..\..\win32\libd"
+                               GenerateDebugInformation="true"
+                               ProgramDatabaseFile="..\..\..\win32\bind\__TKNAM__.pdb"
+                               SubSystem="2"
+                               ImportLibrary="..\..\..\win32\libd\__TKNAM__.lib"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source files"
+                       >
+__FILES__
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>
index 9a3a3dbac4a0383f7b347d248be10a0fd87284c0..87633b2d50c335164cbd0564f3fcbd65624c7a93 100755 (executable)
-<?xml version="1.0" encoding="windows-1251"?>\r
-<VisualStudioProject\r
-       ProjectType="Visual C++"\r
-       Version="8.00"\r
-       Name="__TKNAM__"\r
-       >\r
-       <Platforms>\r
-               <Platform\r
-                       Name="x64"\r
-               />\r
-       </Platforms>\r
-       <ToolFiles>\r
-       </ToolFiles>\r
-       <Configurations>\r
-               <Configuration\r
-                       Name="Release|x64"\r
-                       OutputDirectory=".\..\..\..\win64\bin"\r
-                       IntermediateDirectory=".\..\..\..\win64\obj\__TKNAM__"\r
-                       ConfigurationType="2"\r
-                       UseOfMFC="0"\r
-                       ATLMinimizesCRunTimeLibraryUsage="false"\r
-                       >\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               MkTypLibCompatible="true"\r
-                               SuppressStartupBanner="true"\r
-                               TargetEnvironment="1"\r
-                               TypeLibraryName=".\..\..\..\win64\bin/TKernel.tlb"\r
-                               HeaderFileName=""\r
-                       />\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               AdditionalOptions="/favor:blend /DWNT"\r
-                               Optimization="2"\r
-                               InlineFunctionExpansion="1"\r
-                               PreprocessorDefinitions="NDEBUG;WIN64;_WINDOWS;WNT;No_Exception;CSFDB;_OCC64"\r
-                               StringPooling="true"\r
-                               ExceptionHandling="2"\r
-                               RuntimeLibrary="2"\r
-                               EnableFunctionLevelLinking="true"\r
-                               PrecompiledHeaderFile=".\..\..\..\win64\obj\__TKNAM__/__TKNAM__.pch"\r
-                               AssemblerListingLocation=".\..\..\..\win64\obj\__TKNAM__/"\r
-                               ObjectFile=".\..\..\..\win64\obj\__TKNAM__/"\r
-                               ProgramDataBaseFileName=".\..\..\..\win64\obj\__TKNAM__/"\r
-                               WarningLevel="3"\r
-                               SuppressStartupBanner="true"\r
-                               DisableSpecificWarnings="4996"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManagedResourceCompilerTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="NDEBUG"\r
-                               Culture="1036"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalDependencies="/DLL __TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"\r
-                               OutputFile=".\..\..\..\win64\bin/__TKNAM__.dll"\r
-                               LinkIncremental="1"\r
-                               SuppressStartupBanner="true"\r
-                               AdditionalLibraryDirectories="..\..\..\win64\lib"\r
-                               ProgramDatabaseFile=".\..\..\..\win64\bin/__TKNAM__.pdb"\r
-                               SubSystem="2"\r
-                               ImportLibrary="..\..\..\win64\lib\__TKNAM__.lib"\r
-                               TargetMachine="X64"\r
-                       />\r
-                       <Tool\r
-                               Name="VCALinkTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManifestTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXDCMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCBscMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCFxCopTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCAppVerifierTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"\r
-                       />\r
-               </Configuration>\r
-               <Configuration\r
-                       Name="Debug|x64"\r
-                       OutputDirectory=".\..\..\..\win64\bind"\r
-                       IntermediateDirectory=".\..\..\..\win64\objd\__TKNAM__"\r
-                       ConfigurationType="2"\r
-                       UseOfMFC="0"\r
-                       ATLMinimizesCRunTimeLibraryUsage="false"\r
-                       ManagedExtensions="0"\r
-                       >\r
-                       <Tool\r
-                               Name="VCPreBuildEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCCustomBuildTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXMLDataGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebServiceProxyGeneratorTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCMIDLTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               MkTypLibCompatible="true"\r
-                               SuppressStartupBanner="true"\r
-                               TargetEnvironment="1"\r
-                               TypeLibraryName=".\..\..\..\win64\bind/TKernel.tlb"\r
-                               HeaderFileName=""\r
-                       />\r
-                       <Tool\r
-                               Name="VCCLCompilerTool"\r
-                               AdditionalOptions="/favor:blend /DWNT"\r
-                               Optimization="0"\r
-                               InlineFunctionExpansion="1"\r
-                               PreprocessorDefinitions="DEB;_DEBUG;WIN64;_WINDOWS;WNT;CSFDB;_OCC64"\r
-                               ExceptionHandling="2"\r
-                               RuntimeLibrary="3"\r
-                               PrecompiledHeaderFile=".\..\..\..\win64\objd\__TKNAM__/__TKNAM__.pch"\r
-                               AssemblerListingLocation=".\..\..\..\win64\objd\__TKNAM__/"\r
-                               ObjectFile=".\..\..\..\win64\objd\__TKNAM__/"\r
-                               ProgramDataBaseFileName=".\..\..\..\win64\objd\__TKNAM__/"\r
-                               WarningLevel="3"\r
-                               SuppressStartupBanner="true"\r
-                               Detect64BitPortabilityProblems="false"\r
-                               DebugInformationFormat="3"\r
-                               CompileAs="0"\r
-                               DisableSpecificWarnings="4996"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManagedResourceCompilerTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCResourceCompilerTool"\r
-                               PreprocessorDefinitions="_DEBUG"\r
-                               Culture="1036"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPreLinkEventTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCLinkerTool"\r
-                               AdditionalDependencies="/DLL __TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"\r
-                               OutputFile=".\..\..\..\win64\bind/__TKNAM__.dll"\r
-                               LinkIncremental="1"\r
-                               SuppressStartupBanner="true"\r
-                               AdditionalLibraryDirectories="..\..\..\win64\libd"\r
-                               GenerateDebugInformation="true"\r
-                               ProgramDatabaseFile="..\..\..\win64\bind\__TKNAM__.pdb"\r
-                               SubSystem="2"\r
-                               ImportLibrary="..\..\..\win64\libd\__TKNAM__.lib"\r
-                               TargetMachine="X64"\r
-                       />\r
-                       <Tool\r
-                               Name="VCALinkTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCManifestTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCXDCMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCBscMakeTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCFxCopTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCAppVerifierTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCWebDeploymentTool"\r
-                       />\r
-                       <Tool\r
-                               Name="VCPostBuildEventTool"\r
-                       />\r
-               </Configuration>\r
-       </Configurations>\r
-       <References>\r
-       </References>\r
-       <Files>\r
-               <Filter\r
-                       Name="Source files"\r
-                       >\r
-                        __FILES__\r
-               </Filter>\r
-       </Files>\r
-       <Globals>\r
-       </Globals>\r
-</VisualStudioProject>\r
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+       ProjectType="Visual C++"
+       Version="8.00"
+       Name="__TKNAM__"
+       >
+       <Platforms>
+               <Platform
+                       Name="x64"
+               />
+       </Platforms>
+       <ToolFiles>
+       </ToolFiles>
+       <Configurations>
+               <Configuration
+                       Name="Release|x64"
+                       OutputDirectory=".\..\..\..\win64\bin"
+                       IntermediateDirectory=".\..\..\..\win64\obj\__TKNAM__"
+                       ConfigurationType="2"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\..\..\..\win64\bin/TKernel.tlb"
+                               HeaderFileName=""
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalOptions="/favor:blend /DWNT"
+                               Optimization="2"
+                               InlineFunctionExpansion="1"
+                               PreprocessorDefinitions="NDEBUG;WIN64;_WINDOWS;WNT;No_Exception;CSFDB;_OCC64"
+                               StringPooling="true"
+                               ExceptionHandling="2"
+                               RuntimeLibrary="2"
+                               EnableFunctionLevelLinking="true"
+                               PrecompiledHeaderFile=".\..\..\..\win64\obj\__TKNAM__/__TKNAM__.pch"
+                               AssemblerListingLocation=".\..\..\..\win64\obj\__TKNAM__/"
+                               ObjectFile=".\..\..\..\win64\obj\__TKNAM__/"
+                               ProgramDataBaseFileName=".\..\..\..\win64\obj\__TKNAM__/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                               DisableSpecificWarnings="4996"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="NDEBUG"
+                               Culture="1036"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="/DLL __TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"
+                               OutputFile=".\..\..\..\win64\bin/__TKNAM__.dll"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="true"
+                               AdditionalLibraryDirectories="..\..\..\win64\lib"
+                               ProgramDatabaseFile=".\..\..\..\win64\bin/__TKNAM__.pdb"
+                               SubSystem="2"
+                               ImportLibrary="..\..\..\win64\lib\__TKNAM__.lib"
+                               TargetMachine="X64"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+               <Configuration
+                       Name="Debug|x64"
+                       OutputDirectory=".\..\..\..\win64\bind"
+                       IntermediateDirectory=".\..\..\..\win64\objd\__TKNAM__"
+                       ConfigurationType="2"
+                       UseOfMFC="0"
+                       ATLMinimizesCRunTimeLibraryUsage="false"
+                       ManagedExtensions="0"
+                       >
+                       <Tool
+                               Name="VCPreBuildEventTool"
+                       />
+                       <Tool
+                               Name="VCCustomBuildTool"
+                       />
+                       <Tool
+                               Name="VCXMLDataGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCWebServiceProxyGeneratorTool"
+                       />
+                       <Tool
+                               Name="VCMIDLTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               MkTypLibCompatible="true"
+                               SuppressStartupBanner="true"
+                               TargetEnvironment="1"
+                               TypeLibraryName=".\..\..\..\win64\bind/TKernel.tlb"
+                               HeaderFileName=""
+                       />
+                       <Tool
+                               Name="VCCLCompilerTool"
+                               AdditionalOptions="/favor:blend /DWNT"
+                               Optimization="0"
+                               InlineFunctionExpansion="1"
+                               PreprocessorDefinitions="DEB;_DEBUG;WIN64;_WINDOWS;WNT;CSFDB;_OCC64"
+                               ExceptionHandling="2"
+                               RuntimeLibrary="3"
+                               PrecompiledHeaderFile=".\..\..\..\win64\objd\__TKNAM__/__TKNAM__.pch"
+                               AssemblerListingLocation=".\..\..\..\win64\objd\__TKNAM__/"
+                               ObjectFile=".\..\..\..\win64\objd\__TKNAM__/"
+                               ProgramDataBaseFileName=".\..\..\..\win64\objd\__TKNAM__/"
+                               WarningLevel="3"
+                               SuppressStartupBanner="true"
+                               Detect64BitPortabilityProblems="false"
+                               DebugInformationFormat="3"
+                               CompileAs="0"
+                               DisableSpecificWarnings="4996"
+                       />
+                       <Tool
+                               Name="VCManagedResourceCompilerTool"
+                       />
+                       <Tool
+                               Name="VCResourceCompilerTool"
+                               PreprocessorDefinitions="_DEBUG"
+                               Culture="1036"
+                       />
+                       <Tool
+                               Name="VCPreLinkEventTool"
+                       />
+                       <Tool
+                               Name="VCLinkerTool"
+                               AdditionalDependencies="/DLL __TKDEP__ opengl32.lib glu32.lib ws2_32.lib vfw32.lib odbc32.lib odbccp32.lib"
+                               OutputFile=".\..\..\..\win64\bind/__TKNAM__.dll"
+                               LinkIncremental="1"
+                               SuppressStartupBanner="true"
+                               AdditionalLibraryDirectories="..\..\..\win64\libd"
+                               GenerateDebugInformation="true"
+                               ProgramDatabaseFile="..\..\..\win64\bind\__TKNAM__.pdb"
+                               SubSystem="2"
+                               ImportLibrary="..\..\..\win64\libd\__TKNAM__.lib"
+                               TargetMachine="X64"
+                       />
+                       <Tool
+                               Name="VCALinkTool"
+                       />
+                       <Tool
+                               Name="VCManifestTool"
+                       />
+                       <Tool
+                               Name="VCXDCMakeTool"
+                       />
+                       <Tool
+                               Name="VCBscMakeTool"
+                       />
+                       <Tool
+                               Name="VCFxCopTool"
+                       />
+                       <Tool
+                               Name="VCAppVerifierTool"
+                       />
+                       <Tool
+                               Name="VCWebDeploymentTool"
+                       />
+                       <Tool
+                               Name="VCPostBuildEventTool"
+                       />
+               </Configuration>
+       </Configurations>
+       <References>
+       </References>
+       <Files>
+               <Filter
+                       Name="Source files"
+                       >
+__FILES__
+               </Filter>
+       </Files>
+       <Globals>
+       </Globals>
+</VisualStudioProject>