]> OCCT Git - occt-wok.git/commitdiff
wgenproj creates the required "inc" folder in the [pwd]
authoribs <ibs@opencascade.com>
Tue, 20 Nov 2012 08:16:15 +0000 (12:16 +0400)
committeribs <ibs@opencascade.com>
Tue, 20 Nov 2012 08:16:15 +0000 (12:16 +0400)
src/WOKsite/wok_tclshrc.tcl

index 542a90ae017f20ec65778b881f72c2004be28aa9..0deec6dca79eae94e8380db1a4efe6ca2e9abf14 100644 (file)
@@ -321,6 +321,11 @@ proc wgenproj { args } {
     set aProcArgs [lreplace $aProcArgs $anIndex $anIndex]
   }
 
+  # create the inc directory. The directory should be created by wprocess function.
+  wokcd -P Home
+  file mkdir [file join [pwd] inc]
+  #
+  
   if { "$aProcArgs" != "" } {
     wprocess $aProcArgs -DGroups=Src,Xcpp
   } else {