tarball,crossplatform.mk: improve cross-platform shell command functions. let errors...
[sdk] / eda / drivers / sqlite / EDASQLite.epj
1 {
2    "Version" : 0.2,
3    "ModuleName" : "EDASQLite",
4    "ModuleVersion" : "0.44",
5    "Options" : {
6       "Warnings" : "All",
7       "Optimization" : "None",
8       "PreprocessorDefinitions" : [
9          "SQLITE_ENABLE_RTREE=1",
10          "SQLITE_DEFAULT_LOCKING_MODE=1",
11          "SQLITE_OMIT_AUTHORIZATION"
12       ],
13       "TargetType" : "SharedLibrary",
14       "TargetFileName" : "EDASQLite",
15       "Libraries" : [
16          "ecere",
17          "ffi"
18       ]
19    },
20    "Platforms" : [
21       {
22          "Name" : "linux",
23          "Options" : {
24             "Libraries" : [
25                "pthread",
26                "dl",
27                "sqlite3"
28             ]
29          }
30       },
31       {
32          "Name" : "apple",
33          "Options" : {
34             "Libraries" : [
35                "pthread",
36                "dl"
37             ]
38          }
39       },
40       {
41          "Name" : "win32",
42          "Options" : {
43             "IncludeDirs" : [
44                "../../../deps/libffi-3.0.11/i686-pc-mingw32/include"
45             ],
46             "LibraryDirs" : [
47                "../../../deps/libffi-3.0.11/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)"
48             ]
49          }
50       }
51    ],
52    "Configurations" : [
53       {
54          "Name" : "Debug",
55          "Options" : {
56             "Debug" : true,
57             "PreprocessorDefinitions" : [
58                "_DEBUG"
59             ],
60             "FastMath" : false
61          }
62       },
63       {
64          "Name" : "Release",
65          "Options" : {
66             "Warnings" : "All",
67             "Debug" : false,
68             "NoLineNumbers" : true,
69             "Optimization" : "Speed",
70             "PreprocessorDefinitions" : [
71                "SQLITE_ENABLE_RTREE=1"
72             ],
73             "LibraryDirs" : [
74                "../../../obj/$(PLATFORM)/bin",
75                "../../../obj/$(PLATFORM)/lib"
76             ],
77             "FastMath" : true,
78             "PostbuildCommands" : [
79                "$(call cp,$(TARGET),../../../$(SODESTDIR))"
80             ],
81             "InstallCommands" : [
82                "$(call cp,$(TARGET),\"$(DESTLIBDIR)/ec/\")",
83                "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/ec/$(LP)$(MODULE)$(SO).0)",
84                "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/ec/$(LP)$(MODULE)$(SO))"
85             ]
86          }
87       },
88       {
89          "Name" : "MemoryGuard",
90          "Options" : {
91             "Debug" : true,
92             "MemoryGuard" : true,
93             "PreprocessorDefinitions" : [
94                "_DEBUG"
95             ],
96             "FastMath" : false
97          }
98       },
99       {
100          "Name" : "Static",
101          "Options" : {
102             "NoLineNumbers" : true,
103             "Optimization" : "Speed",
104             "PreprocessorDefinitions" : [
105                "ECERE_STATIC"
106             ],
107             "TargetType" : "StaticLibrary",
108             "TargetFileName" : "EDASQLiteStatic",
109             "FastMath" : true
110          }
111       }
112    ],
113    "Files" : [
114       {
115          "FileName" : "sqlite3.c",
116          "Options" : {
117             "FastMath" : false
118          },
119          "Platforms" : [
120             {
121                "Name" : "linux",
122                "Options" : {
123                   "ExcludeFromBuild" : true
124                }
125             }
126          ]
127       },
128       {
129          "FileName" : "sqlite3.h",
130          "Platforms" : [
131             {
132                "Name" : "linux",
133                "Options" : {
134                   "ExcludeFromBuild" : true
135                }
136             }
137          ]
138       },
139       "EDASQLite.ec"
140    ],
141    "ResourcesPath" : "",
142    "Resources" : [
143       {
144          "Folder" : "locale",
145          "Files" : [
146             "es.mo",
147             "he.mo",
148             "pt_BR.mo",
149             "ru.mo",
150             "zh_CN.mo"
151          ]
152       }
153    ]
154 }