diff options
Diffstat (limited to 'src/bin/edje_cc.c')
-rw-r--r-- | src/bin/edje_cc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/edje_cc.c b/src/bin/edje_cc.c index c1368bb..9e4e9ae 100644 --- a/src/bin/edje_cc.c +++ b/src/bin/edje_cc.c @@ -15,6 +15,7 @@ Eina_Prefix *pfx = NULL; Eina_List *snd_dirs = NULL; Eina_List *img_dirs = NULL; Eina_List *fnt_dirs = NULL; +Eina_List *data_dirs = NULL; Eina_List *defines = NULL; char *file_in = NULL; char *tmp_dir = NULL; @@ -85,6 +86,7 @@ main_help(void) "-id image/directory Add a directory to look in for relative path images\n" "-fd font/directory Add a directory to look in for relative path fonts\n" "-sd sound/directory Add a directory to look in for relative path sounds samples\n" + "-dd data/directory Add a directory to look in for relative path data.file entries\n" "-td temp/directory Directory to store temporary files\n" "-v Verbose output\n" "-no-lossy Do NOT allow images to be lossy\n" @@ -175,6 +177,11 @@ main(int argc, char **argv) i++; snd_dirs = eina_list_append(snd_dirs, argv[i]); } + else if ((!strcmp(argv[i], "-dd") || !strcmp(argv[i], "--data_dir")) && (i < (argc - 1))) + { + i++; + data_dirs = eina_list_append(data_dirs, argv[i]); + } else if ((!strcmp(argv[i], "-td") || !strcmp(argv[i], "--tmp_dir")) && (i < (argc - 1))) { i++; |