-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
kincfile.js
49 lines (38 loc) · 1.32 KB
/
kincfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
let project = new Project('kraffiti');
project.kore = false;
project.setCmd();
project.addExclude('.git/**');
project.addExclude('build/**');
project.addDefine('HAVE_CONFIG_H');
project.addDefine("PNG_NO_CONFIG_H");
project.addFile('Sources/**');
project.addFile("zlib/*.h");
project.addFile("zlib/*.c");
project.addExclude("zlib/gzlib.c");
project.addExclude("zlib/gzclose.c");
project.addExclude("zlib/gzwrite.c");
project.addExclude("zlib/gzread.c");
project.addFile("libpng/*.h");
project.addFile("libpng/*.c");
project.addExclude("libpng/pngtest.c");
project.addFile("libjpeg/*.h");
project.addFile("libjpeg/*.c");
project.addExclude("libjpeg/jmemmac.c");
project.addExclude("libjpeg/jmemdos.c");
project.addExclude("libjpeg/ansi2knr.c");
project.addExclude("libjpeg/cdjpeg.c");
project.addExclude("libjpeg/jmemname.c");
project.addExclude("libjpeg/jmemansi.c");
project.addExclude("libjpeg/rdjpgcom.c");
project.addExclude("libjpeg/wrjpgcom.c");
project.addExclude("libjpeg/cjpeg.c");
project.addExclude("libjpeg/ckconfig.c");
project.addExclude("libjpeg/djpeg.c");
project.addExclude("libjpeg/jpegtran.c");
project.addExclude("libjpeg/example.c");
project.addFile('Libraries/lz4x/**');
project.addIncludeDir("Sources");
project.addIncludeDir("zlib");
project.addIncludeDir("libpng");
project.addIncludeDir("libjpeg");
resolve(project);