0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Merge pull request #100 from digitalist/readmeForDateLib

Readme for date lib
This commit is contained in:
Roland Bock 2016-06-10 06:42:44 +02:00 committed by GitHub
commit be0f90cc1d

View File

@ -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 * STL Container: https://github.com/rbock/sqlpp11-connector-stl
__Date Library:__ __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: Basic usage:
------------- -------------