Added -includeall option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
056fb6c8c5
commit
1e17d49b13
1 changed files with 4 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ static char *usage = (char*)"\
|
|||
-co - Check a file out of the SWIG library\n\
|
||||
-Dsymbol - Define a symbol (for conditional compilation)\n\
|
||||
-I<dir> - Look for SWIG files in <dir>\n\
|
||||
-includeall - Follow all #include statements\n\
|
||||
-l<ifile> - Include SWIG library file.\n\
|
||||
-make_default - Create default constructors/destructors\n\
|
||||
-o outfile - Set name of the output file.\n\
|
||||
|
|
@ -256,6 +257,9 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
|||
} else if (strcmp(argv[i],"-freeze") == 0) {
|
||||
freeze = 1;
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-includeall") == 0) {
|
||||
Preprocessor_include_all(1);
|
||||
Swig_mark_arg(i);
|
||||
} else if (strcmp(argv[i],"-help") == 0) {
|
||||
fputs(usage,stderr);
|
||||
Swig_mark_arg(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue