Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2008, 8:39:40 PM (17 years ago)
Author:
rgrieder
Message:

Added 'w' argument for tolua. That specifies the working directory when including files in the package.
If 'w' is not specified, the path of the package file is used. And if even that is not given, the application working directory is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/src/tolua/tolua.c

    r1975 r2233  
    3434         "  -H  file : create include file.\n"
    3535         "  -n  name : set package name; default is input file root name.\n"
     36         "  -w  folder : set working directory; efault is location of package file.\n"
    3637         "  -p       : parse only.\n"
    3738         "  -P       : parse and print structure information (for debug).\n"
     
    125126     case 'n': setfield(L,t,"n",argv[++i]); break;
    126127     case 'H': setfield(L,t,"H",argv[++i]); break;
     128     case 'w': setfield(L,t,"w",argv[++i]); break;
    127129     case 'S': setfield(L,t,"S",""); break;
    128130     case '1': setfield(L,t,"1",""); break;
Note: See TracChangeset for help on using the changeset viewer.