b1620039ffedcff5b6d14369c0d8f35e534a9a55
[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_DEFAULT_LOCKING_MODE=1",
10          "SQLITE_OMIT_AUTHORIZATION"
11       ],
12       "TargetType" : "SharedLibrary",
13       "TargetFileName" : "EDASQLite",
14       "Libraries" : [
15          "ecere",
16          "ffi"
17       ]
18    },
19    "Platforms" : [
20       {
21          "Name" : "linux",
22          "Options" : {
23             "Libraries" : [
24                "pthread",
25                "dl",
26                "sqlite3"
27             ]
28          }
29       },
30       {
31          "Name" : "apple",
32          "Options" : {
33             "Libraries" : [
34                "pthread",
35                "dl"
36             ]
37          }
38       },
39       {
40          "Name" : "win32",
41          "Options" : {
42             "IncludeDirs" : [
43                "../../../deps/libffi-3.0.11/i686-pc-mingw32/include"
44             ],
45             "LibraryDirs" : [
46                "../../../deps/libffi-3.0.11/obj/release.$(PLATFORM)$(COMPILER_SUFFIX)"
47             ]
48          }
49       }
50    ],
51    "Configurations" : [
52       {
53          "Name" : "Debug",
54          "Options" : {
55             "Debug" : true,
56             "PreprocessorDefinitions" : [
57                "_DEBUG"
58             ],
59             "FastMath" : false
60          }
61       },
62       {
63          "Name" : "Release",
64          "Options" : {
65             "Warnings" : "None",
66             "Debug" : false,
67             "NoLineNumbers" : true,
68             "Optimization" : "Speed",
69             "LibraryDirs" : [
70                "../../../obj/$(PLATFORM)/bin",
71                "../../../obj/$(PLATFORM)/lib"
72             ],
73             "FastMath" : true,
74             "PostbuildCommands" : [
75                "$(call cpq,$(TARGET),../../../$(SODESTDIR))"
76             ],
77             "InstallCommands" : [
78                "$(call cpq,$(TARGET),\"$(DESTLIBDIR)/ec/\")",
79                "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/ec/$(LP)$(MODULE)$(SO).0)",
80                "$(if $(WINDOWS_HOST),,ln -sf $(LP)$(MODULE)$(SOV) $(DESTLIBDIR)/ec/$(LP)$(MODULE)$(SO))"
81             ]
82          }
83       },
84       {
85          "Name" : "MemoryGuard",
86          "Options" : {
87             "Debug" : true,
88             "MemoryGuard" : true,
89             "PreprocessorDefinitions" : [
90                "_DEBUG"
91             ],
92             "FastMath" : false
93          }
94       },
95       {
96          "Name" : "Static",
97          "Options" : {
98             "NoLineNumbers" : true,
99             "Optimization" : "Speed",
100             "PreprocessorDefinitions" : [
101                "ECERE_STATIC"
102             ],
103             "TargetType" : "StaticLibrary",
104             "TargetFileName" : "EDASQLiteStatic",
105             "FastMath" : true
106          }
107       }
108    ],
109    "Files" : [
110       {
111          "FileName" : "sqlite3.c",
112          "Options" : {
113             "FastMath" : false
114          },
115          "Platforms" : [
116             {
117                "Name" : "linux",
118                "Options" : {
119                   "ExcludeFromBuild" : true
120                }
121             }
122          ]
123       },
124       {
125          "FileName" : "sqlite3.h",
126          "Platforms" : [
127             {
128                "Name" : "linux",
129                "Options" : {
130                   "ExcludeFromBuild" : true
131                }
132             }
133          ]
134       },
135       "EDASQLite.ec"
136    ],
137    "ResourcesPath" : "",
138    "Resources" : [
139       {
140          "Folder" : "locale",
141          "Files" : [
142             {
143                "Folder" : "zh_CN",
144                "Files" : [
145                   {
146                      "Folder" : "LC_MESSAGES",
147                      "Files" : [
148                         "EDASQLite.mo"
149                      ]
150                   }
151                ]
152             },
153             {
154                "Folder" : "es_ES",
155                "Files" : [
156                   {
157                      "Folder" : "LC_MESSAGES",
158                      "Files" : [
159                         "EDASQLite.mo"
160                      ]
161                   }
162                ]
163             }
164          ]
165       }
166    ]
167 }