mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Merge pull request #100 from digitalist/readmeForDateLib
Readme for date lib
This commit is contained in:
commit
be0f90cc1d
@ -139,7 +139,11 @@ To demonstrate that sqlpp11 can work with other backends as well, here is an exp
|
||||
* STL Container: https://github.com/rbock/sqlpp11-connector-stl
|
||||
|
||||
__Date Library:__
|
||||
sqlpp11 requires [Howard Hinnant's date library](https://github.com/HowardHinnant/date) for `date` and `date_time` data types.
|
||||
sqlpp11 requires [Howard Hinnant's date library](https://github.com/HowardHinnant/date) for `date` and `date_time` data types. Sqlpp11 includes CMake search module for this, but if you didn't install this library system-wide, you should modify CMakeLists.txt or add some flags to compile sqlpp11:
|
||||
|
||||
```
|
||||
cmake -DHinnantDate_ROOT_DIR=/%PATH_TO_HinnantDate_SOURCE%/ -DHinnantDate_INCLUDE_DIR=/%PATH_TO_HinnantDate_SOURCE%/
|
||||
```
|
||||
|
||||
Basic usage:
|
||||
-------------
|
||||
|
Loading…
Reference in New Issue
Block a user