0024428: Implementation of LGPL license
[occt.git] / src / StepFile / StepFile_CODEGEN.edl
1 -- Created by: data exchange team
2 -- Copyright (c) 2000-2014 OPEN CASCADE SAS
3 --
4 -- This file is part of Open CASCADE Technology software library.
5 --
6 -- This library is free software; you can redistribute it and / or modify it
7 -- under the terms of the GNU Lesser General Public version 2.1 as published
8 -- by the Free Software Foundation, with special exception defined in the file
9 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 -- distribution for complete text of the license and disclaimer of any warranty.
11 --
12 -- Alternatively, this file may be used under the terms of Open CASCADE
13 -- commercial license or contractual agreement.
14
15 @ifnotdefined ( %StepFile_CODEGEN_EDL) then
16   @set %StepFile_CODEGEN_EDL = "";
17
18   -- same as basic template but without -f flags
19   @template CODEGEN_LEX_OptLine (%CODEGEN_LEX_CmdPath) is
20     $%CODEGEN_LEX_CmdPath -P <Module> -L -8 <LexFile>
21   @end;
22
23   -- same as basic template but without -f flags
24   @template CODEGEN_LEX_CmdLine (%CODEGEN_LEX_CmdPath, %Source, %BaseName, %OutputDir) is
25     $cd %OutputDir;
26     $%CODEGEN_LEX_CmdPath -P%BaseName -L -8 %Source
27   @end;
28
29 @endif;