mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 02:06:02 -04:00
commit
d7f349ba62
17
qtcreator/example1/example1.pro
Normal file
17
qtcreator/example1/example1.pro
Normal 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
|
||||
|
34
qtcreator/sqlitecpp-shared/sqlitecpp-shared.pro
Normal file
34
qtcreator/sqlitecpp-shared/sqlitecpp-shared.pro
Normal 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
|
34
qtcreator/sqlitecpp-static/sqlitecpp-static.pro
Normal file
34
qtcreator/sqlitecpp-static/sqlitecpp-static.pro
Normal 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
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user