Merge pull request #9 from niXman/master

QtCreator project files added
This commit is contained in:
Sébastien Rombauts 2013-11-29 23:08:49 -08:00
commit d7f349ba62
4 changed files with 90 additions and 5 deletions

View File

@ -0,0 +1,17 @@
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
INCLUDEPATH += \
../../sqlite3
LIBS += \
-L../../libs \
-lsqlitecpp-static
SOURCES += \
../../examples/example1/main.cpp

View File

@ -0,0 +1,34 @@
TEMPLATE = lib
CONFIG += console
CONFIG += sharedlib
CONFIG -= app_bundle
CONFIG -= qt
DESTDIR = \
../../libs
QMAKE_CFLAGS += \
-Wno-sign-compare
INCLUDEPATH +=\
../../sqlite3
SOURCES += \
../../sqlite3/sqlite3.c \
../../src/Transaction.cpp \
../../src/Statement.cpp \
../../src/Database.cpp \
../../src/Column.cpp
HEADERS += \
../../sqlite3/sqlite3.h \
../../src/Transaction.h \
../../src/Statement.h \
../../src/SQLiteC++.h \
../../src/Exception.h \
../../src/Database.h \
../../src/Column.h \
../../src/Assertion.h

View File

@ -0,0 +1,34 @@
TEMPLATE = lib
CONFIG += console
CONFIG += staticlib
CONFIG -= app_bundle
CONFIG -= qt
DESTDIR = \
../../libs
QMAKE_CFLAGS += \
-Wno-sign-compare
INCLUDEPATH +=\
../../sqlite3
SOURCES += \
../../sqlite3/sqlite3.c \
../../src/Transaction.cpp \
../../src/Statement.cpp \
../../src/Database.cpp \
../../src/Column.cpp
HEADERS += \
../../sqlite3/sqlite3.h \
../../src/Transaction.h \
../../src/Statement.h \
../../src/SQLiteC++.h \
../../src/Exception.h \
../../src/Database.h \
../../src/Column.h \
../../src/Assertion.h

View File

@ -45,6 +45,6 @@ namespace SQLite
#endif
#ifdef _WIN32
#if defined(_WIN32) && defined(_MSC_VER)
#pragma warning(disable:4290) // Disable warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
#endif