mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Merge pull request #100 from Pan7/q3lcc
q3lcc option -lcppdir and -lrccdir. Enabled using `q3lcc -Wo-lrccdir=/path/to/dir -Wo-cppdir=/path/to/dir`.
This commit is contained in:
commit
e7c7ca1309
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ int option(char *arg) {
|
|||
cpp[0] = concat(&arg[8], "/q3cpp" BINEXT);
|
||||
include[0] = concat("-I", concat(&arg[8], "/include"));
|
||||
com[0] = concat(&arg[8], "/q3rcc" BINEXT);
|
||||
} else if (strncmp(arg, "-lcppdir=", 9) == 0) {
|
||||
cpp[0] = concat(&arg[9], "/q3cpp" BINEXT);
|
||||
} else if (strncmp(arg, "-lrccdir=", 9) == 0) {
|
||||
com[0] = concat(&arg[9], "/q3rcc" BINEXT);
|
||||
} else if (strcmp(arg, "-p") == 0 || strcmp(arg, "-pg") == 0) {
|
||||
fprintf( stderr, "no profiling supported, %s ignored.\n", arg);
|
||||
} else if (strcmp(arg, "-b") == 0)
|
||||
|
|
Loading…
Reference in a new issue