mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 17:56:13 -04:00
Readme: CMake bash code formating
This commit is contained in:
parent
98e35bddcf
commit
9c7d929ec5
@ -96,19 +96,25 @@ Solutions for Visual Studio 2008 and 2010 are provided in the "msvc/" directory,
|
|||||||
A CMake configuration file is also provided for better multiplatform support and testing.
|
A CMake configuration file is also provided for better multiplatform support and testing.
|
||||||
|
|
||||||
Typical generic build (see also "build.bat" or "./build.sh"):
|
Typical generic build (see also "build.bat" or "./build.sh"):
|
||||||
|
|
||||||
|
```bash
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. # cmake .. -G "Visual Studio 10" # for Visual Studio 2010
|
cmake .. # cmake .. -G "Visual Studio 10" # for Visual Studio 2010
|
||||||
cmake --build . # make
|
cmake --build . # make
|
||||||
ctest . # make test
|
ctest . # make test
|
||||||
|
```
|
||||||
|
|
||||||
Generating the Linux Makefile, building in Debug and executing the tests:
|
Generating the Linux Makefile, building in Debug and executing the tests:
|
||||||
|
|
||||||
|
```bash
|
||||||
mkdir Debug
|
mkdir Debug
|
||||||
cd Debug
|
cd Debug
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||||
cmake --build . # make
|
cmake --build . # make
|
||||||
ln -s ../examples examples
|
ln -s ../examples examples
|
||||||
ctest . # make test
|
ctest . # make test
|
||||||
|
```
|
||||||
|
|
||||||
### Continuous Integration
|
### Continuous Integration
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user