From: bugmaster Date: Wed, 18 Apr 2012 14:45:09 +0000 (+0400) Subject: Correction of compilation problem with WOK X-Git-Tag: V6_5_3~8 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=4eab4d2451b35533eea0f66678c8999a0a861db4;p=occt-copy.git Correction of compilation problem with WOK --- diff --git a/src/StepFile/StepFile_CODEGEN.edl b/src/StepFile/StepFile_CODEGEN.edl index a73777a0d0..92a322be5b 100755 --- a/src/StepFile/StepFile_CODEGEN.edl +++ b/src/StepFile/StepFile_CODEGEN.edl @@ -14,35 +14,21 @@ -- Initial Developer hereby disclaims all such warranties, including without -- limitation, any warranties of merchantability, fitness for a particular -- purpose or non-infringement. Please see the License for the specific terms --- and conditions governing the rights and limitations under the License. - +-- and conditions governing the rights and limitations under the +-- License. @ifnotdefined ( %StepFile_CODEGEN_EDL) then -@set %StepFile_CODEGEN_EDL = ""; - ---- Insert your stuff Here -@if ( %Station != "wnt" ) then -@template CODEGEN_LEX_OptLine (%CODEGEN_FlexBisHome) is -$%CODEGEN_FlexBisHome/flex -P -L -8 -@end; - -@template CODEGEN_LEX_CmdLine ( %CODEGEN_FlexBisHome, %Source, %BaseName, %OutputDir ) is -$cd %OutputDir -$%CODEGEN_FlexBisHome/flex -P%BaseName -L -8 %Source -@end; -@else - -@template CODEGEN_LEX_OptLine (%CODEGEN_LEX_CmdPath) is -$%CODEGEN_LEX_CmdPath -P -L -8 -@end; - -@set %CODEGEN_LEX_CmdPath = "%WOKHOME%/lib/wnt/flex"; - -@template CODEGEN_LEX_CmdLine ( %CODEGEN_LEX_CmdPath, %Source, %BaseName, %OutputDir ) is -$cd %OutputDir; -$%CODEGEN_LEX_CmdPath -P%BaseName -L -8 %Source -@end; - -@endif; + @set %StepFile_CODEGEN_EDL = ""; + + -- same as basic template but without -f flags + @template CODEGEN_LEX_OptLine (%CODEGEN_LEX_CmdPath) is + $%CODEGEN_LEX_CmdPath -P -L -8 + @end; + + -- same as basic template but without -f flags + @template CODEGEN_LEX_CmdLine (%CODEGEN_LEX_CmdPath, %Source, %BaseName, %OutputDir) is + $cd %OutputDir; + $%CODEGEN_LEX_CmdPath -P%BaseName -L -8 %Source + @end; @endif;