"Options" : {
"Libraries" : [
"pthread",
- "dl"
+ "dl",
+ "sqlite3"
]
}
},
}
],
"Files" : [
- "sqlite3.c",
- "sqlite3.h",
+ {
+ "FileName" : "sqlite3.c",
+ "Platforms" : [
+ {
+ "Name" : "linux",
+ "Options" : {
+ "ExcludeFromBuild" : true
+ }
+ }
+ ]
+ },
+ {
+ "FileName" : "sqlite3.h",
+ "Platforms" : [
+ {
+ "Name" : "linux",
+ "Options" : {
+ "ExcludeFromBuild" : true
+ }
+ }
+ ]
+ },
"EDASQLite.ec"
],
"ResourcesPath" : "",
]
}
]
-}
\ No newline at end of file
+}
endif
OBJECTS = \
- $(OBJ)sqlite3.o \
+ $(if $(LINUX),,$(OBJ)sqlite3.o) \
$(OBJ)EDASQLite.o \
$(OBJ)$(MODULE).main$(O)
$(OBJ)EDASQLite.imp
SOURCES = \
- sqlite3.c \
+ $(if $(LINUX),,sqlite3.c) \
EDASQLite.ec
RESOURCES = \
ifdef LINUX
-LIBS += -lpthread -ldl
+LIBS += -lpthread -ldl -lsqlite3
else
ifdef OSX