diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-15 15:25:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-15 23:26:58 (GMT) |
commit | e986e0039de21791bd1fbb1f59b13f58c4a46324 (patch) | |
tree | ff6c668e830ff39097d53f3c0a0898bf0f052b20 /src/res2cc_cmd.py | |
parent | 0fea3d4ca57187f271d7580ff16f32b7ab4657df (diff) | |
download | Doxygen-e986e0039de21791bd1fbb1f59b13f58c4a46324.zip Doxygen-e986e0039de21791bd1fbb1f59b13f58c4a46324.tar.gz Doxygen-e986e0039de21791bd1fbb1f59b13f58c4a46324.tar.bz2 |
Added language attribute to XML output for classes, namespaces, and files
Diffstat (limited to 'src/res2cc_cmd.py')
-rwxr-xr-x | src/res2cc_cmd.py | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/res2cc_cmd.py b/src/res2cc_cmd.py index 40d2906..772ac84 100755 --- a/src/res2cc_cmd.py +++ b/src/res2cc_cmd.py @@ -1,3 +1,19 @@ +#!/usr/bin/python +# Script that compiles a set of resources into a single C++ source file. The C++ file +# offers an initResources() function, which registers the resources with the resource +# manager (class ResourceMgr) +# +# Copyright (C) 1997-2014 by Dimitri van Heesch. +# +# Permission to use, copy, modify, and distribute this software and its +# documentation under the terms of the GNU General Public License is hereby +# granted. No representations are made about the suitability of this software +# for any purpose. It is provided "as is" without express or implied warranty. +# See the GNU General Public License for more details. +# +# Documents produced by Doxygen are derivative works derived from the +# input used in their production; they are not affected by this license. +# from __future__ import print_function from os import listdir, stat, walk from os.path import isfile, join, splitext @@ -78,7 +94,7 @@ class LumaFile(File): def main(): if len(sys.argv)<3: - sys.exit('Usage: %s directory output_file.c' % sys.argv[0]) + sys.exit('Usage: %s directory output_file.cpp' % sys.argv[0]) directory = sys.argv[1] files = [] for dirName, subdirList, fileList in walk(directory): |