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