[% FILTER null; #============================================================================== # TemplateToolkit2 template for MSVC7 project (vcproj) file. # Copyright (C) 2004 by Eric Sunshine # # This library is free software; you can redistribute it and/or modify it # under the terms of the GNU Library General Public License as published by # the Free Software Foundation; either version 2 of the License, or (at your # option) any later version. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public # License for more details. # # You should have received a copy of the GNU Library General Public License # along with this library; if not, write to the Free Software Foundation, # Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # #============================================================================== PROCESS macros.tlib; PROCESS control.tlib; PROCESS projectx7.tlib; MACRO composedefs(defs) GET compose('defines', defs, ';'); MACRO composedirs(tag, seed) GET composepaths(${"build.${tag}key"},seed,';'); my = {}; load(respfile, 'doc'); FOREACH f IN my.doc.customize; PROCESS $f | null; END; files = striproots(filter(my.doc.file).split('\|')).split('\|').sort; END -%] [% FOREACH build IN builds -%] [% END -%] [%- FOREACH group IN groups %] [%- items = files.grep(group.types) %] [%- IF items.size > 0 %] [%- FOREACH file IN items %] [%- IF my.doc.static %] [%- UNLESS file.match('\\.(h|hpp|rc)$') %] [%- FOREACH build IN builds %] [%- END %] [%- END %] [%- END %] [%- END %] [%- END %] [%- END %]