mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 17:56:13 -04:00
Adding picture of the current build status of Travis CI
- Improving CMake build & test explanations
This commit is contained in:
parent
f462c937e2
commit
9f8418d8c1
20
README.md
20
README.md
@ -84,25 +84,31 @@ in your project code base, and compile/link against the sqlite library.
|
|||||||
A basic Makefile is provided, tested under Linux/Ubuntu 12.10, requiring the sqlite3 static library (sqlite3-dev Debian/Ubuntu package)
|
A basic Makefile is provided, tested under Linux/Ubuntu 12.10, requiring the sqlite3 static library (sqlite3-dev Debian/Ubuntu package)
|
||||||
Solutions for Visual Studio 2008 and 2010 are provided in the "msvc/" directory, directly using the sqlite3.c source code for ease of use.
|
Solutions for Visual Studio 2008 and 2010 are provided in the "msvc/" directory, directly using the sqlite3.c source code for ease of use.
|
||||||
|
|
||||||
#### CMake
|
#### CMake and test
|
||||||
A CMake configuration file is also provided for other platform support.
|
A CMake configuration file is also provided for better multiplatform support and testing.
|
||||||
Generating the Linux Makefile and building in Debug:
|
|
||||||
|
Generating the Linux Makefile, building in Debug and executing the tests:
|
||||||
mkdir Debug
|
mkdir Debug
|
||||||
cd Debug
|
cd Debug
|
||||||
cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
make -j
|
make -j
|
||||||
|
ln -s ../examples examples
|
||||||
|
make test
|
||||||
|
|
||||||
And for the Release version:
|
And for the Release version:
|
||||||
mkdir Release
|
mkdir Release
|
||||||
cd Release
|
cd Release
|
||||||
cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||||
make -j
|
make -j
|
||||||
|
ln -s ../examples examples
|
||||||
|
make test
|
||||||
|
|
||||||
### Continuous Integration
|
### Continuous Integration
|
||||||
|
|
||||||
This project is continuously tested under Ubuntu Linux with the gcc and clang compilers
|
This project is continuously tested under Ubuntu Linux with the gcc and clang compilers
|
||||||
using the Travis-CI community service.
|
using the Travis CI community service with the above CMake building and testing procedure.
|
||||||
Results can be seen online: https://travis-ci.org/SRombauts/SQLiteCpp
|
Current build status: 
|
||||||
|
Matrix of results can be seen online: https://travis-ci.org/SRombauts/SQLiteCpp
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user