0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00
Commit Graph

45 Commits

Author SHA1 Message Date
hwhsu1231
2aa9797117 style: Align CMake files with 4 spaces indent 2022-11-26 08:32:46 +01:00
Leon De Andrade
648183fd64 Proper MariaDB and MySQl findPackage support 2022-08-21 09:54:58 +02:00
Leon De Andrade
d17bce9644
Add Connector CMake Logic (#394)
Add Connector Cmake logic

* Also install date when used with fetch content
* Install everything always
* Update documentation
* Add option to control dependency searching
* Adjust travis
2021-12-02 07:45:38 +01:00
Roland Bock
4c942600bb Started to migrate postgresql connector into sqlpp11 repo.
Removed timezone handling in the process (needs to be documented).
Note: on_conflict does not check for constraints (needs to be documented).
Note: some of the constraints tests seem to be aiming for a different static_assert.
2021-11-14 08:11:53 +01:00
Roland Bock
8572c821aa Streamline test names and locations 2021-10-11 10:31:25 +02:00
Roland Bock
64aba48cb9 Make sqlite3 connector header-only 2021-08-22 12:44:34 +02:00
Roland Bock
c1e754d83c Update docs to include local connectors. 2021-08-14 10:28:20 +02:00
Roland Bock
5e16f32ed3 Moved mysql/mariadb connector over here. 2021-08-01 21:49:16 +02:00
Roland Bock
2e683a4b69 Moved sqlite3 over here. 2021-08-01 20:37:36 +02:00
Daniil Kovalev
77db53436d
Add USE_SYSTEM_DATE cmake option (#372)
* Add `USE_SYSTEM_DATE` cmake option
2021-07-29 07:37:25 +02:00
Leon De Andrade
123bdb8890
Feature/fetch content (#349)
* Add date as a dependency, make fetch friendly
* Add example
* Add alias
* Update readme
* Add find_package example
* Update travis
* Add license
2020-08-08 09:42:02 +02:00
Sylvain Joubert
fe3abc6520 Install and export ddl2cpp script 2018-02-19 10:05:30 +01:00
Dirk Vanden Boer
44dcccd169 Optional unit tests 2016-11-04 21:34:58 +01:00
rbock
86f5208aeb Removed examples from CppCon-2014
They led to too much confusion
2016-10-27 08:22:20 +02:00
strangeqargo
61d0da2ec6 ddl2cpp tests 2016-06-12 22:34:26 +03:00
Christian Dávid
f41770dbe2 Added FindHinnatDate.cmake to prevent usage of preset paths
Howard Hinnant's date and time library is found using a cmake Find-module.

Commit 377fbc8958 was reverted to ensure that the
exported target has the correct properties.
2016-05-01 20:05:50 +02:00
rbock
4e4cb9cc4c Minor cmake fix
At least I hope it's a fix
2016-04-22 08:50:58 +02:00
rbock
b1718f5c5e Merge branch 'develop' of https://github.com/ianda/sqlpp11 into ianda-develop 2016-04-17 13:52:50 +02:00
rbock
f18ab542b4 Made the check for date.h a bit more user friendly 2016-04-11 19:56:32 +02:00
rbock
aceede57eb Fixed outer-tables for joins, added tests 2016-03-20 09:13:49 +01:00
rbock
b6c5cb8764 Added several serialization tests for from() and joins 2016-03-20 09:13:49 +01:00
Christian Dávid
618a84e7a5 Fixed error in CMakeLists.txt
The version was not exported to the ...ConfigVersion.cmake file
2016-01-10 12:25:04 +01:00
Christian Dávid
bc935dbae8 Added cmake package config file
Now sqlpp11 can be used with

find_package(Sqlpp11)
target_link_libraries(... sqlpp11)

in your project's CMakeLists.txt
2016-01-09 19:00:05 +01:00
rbock
73e8f04127 Several minor date/time fixes, new tests 2015-10-28 20:52:43 +01:00
rbock
3c699a51b6 Added test folder for static assert tests (more tests will follow) 2015-10-03 21:20:01 +02:00
Reto Schneider
5756b2355f Remove trailing spaces. 2015-08-05 14:43:21 +02:00
Jürgen Hunold
377fbc8958 Do not use compile features with msvc
It has no options controlling the language feature to use anyway.
2015-06-01 19:01:38 +02:00
rbock
890d75d377 Added a few more compiler requirements 2015-05-30 17:10:16 +02:00
Daniel Pfeifer
b0453ffb1c make use of usage requirements 2015-05-29 22:10:04 +02:00
Daniel Pfeifer
5692a71c38 don't tell clang which standard library to use 2015-05-29 20:27:38 +02:00
rbock
21621f81c8 Added -Wshadow and un-inlined namespace alias
Not sure if inlining alias was a good idea to begin with...
2015-03-08 20:19:01 +01:00
rbock
97de6fad7f Adjusted license dates 2015-02-15 19:00:21 +01:00
TyRoXx
3cef1a1217 enable -Wpedantic and fix all the warnings
Conflicts:
	examples/select.cpp
	include/sqlpp11/interpret_tuple.h
	include/sqlpp11/type_traits.h
2015-02-07 15:07:33 +01:00
TyRoXx
25883fc8ea enable -Wconversion and fix a warning 2015-02-07 14:50:47 +01:00
rbock
ea30acaf26 Merge branch 'release/0.28' 2014-09-30 07:20:46 +02:00
rbock
9c048786fd Added a few examples 2014-09-06 04:18:15 +02:00
Markus Elfring
c227d46cf4 Bug #14: Completed quoting for parameters of some CMake commands
A wiki article pointed out that whitespace will only be preserved for parameters
in CMake commands if passed strings will be appropriately quoted or escaped.
http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes.

Quoting was added so that more places should also handle file names correctly
which contain space characters or semicolons eventually.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2014-09-01 19:17:03 +02:00
Johan
73973f0f48 Fix cygwin-gcc and cmake problems
Fixed warning in CMake
Fixed problem with tuples creation
Fixed problem of stream copy constructor usage
2014-08-20 21:58:57 +02:00
rbock
5c4dc0caf0 Added a first experimental fail test 2014-08-08 07:57:08 +02:00
rbock
08786c7cf9 Added -Wall, took care of a bunch of compiler warnings 2014-06-28 14:39:04 +02:00
rbock
bef4d0874b Updates copyright year 2014-03-27 16:43:36 +01:00
Mateusz Loskot
62759e8de1 Fix for CMake build type default flags being lost
The CMakeLists.txt adds -std=c++11 and related compiler flags, but looses default flags specified by CMake build type.
For example, -DCMAKE_BUILD_TYPE=Debug has no effect, as -g flag gets lost.
2014-01-19 20:02:00 +01:00
Mateusz Loskot
2734675750 Add headers to sources to enable file browsing in IDEs
By adding headers to sources of targets, CMake adds them to list of project files generated for IDEs.
This is non-intrusive trick, which does not affect targets compilation.
2014-01-19 19:56:37 +01:00
Roland Bock
e321a2c372 Make CMakeLists work with g++ 2013-08-17 11:25:52 +02:00
Roland Bock
e3001df8cd Added cmake support 2013-08-15 13:26:09 +02:00