mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 10:16:01 -04:00
19 lines
690 B
Batchfile
19 lines
690 B
Batchfile
@REM Copyright (c) 2013-2014 Sébastien Rombauts (sebastien.rombauts@gmail.com)
|
|
@REM
|
|
@REM Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
|
|
@REM or copy at http://opensource.org/licenses/MIT)
|
|
|
|
mkdir build
|
|
cd build
|
|
@REM generate solution for Visual Studio, and build it
|
|
cmake -DSQLITECPP_RUN_CPPLINT=ON -DSQLITECPP_RUN_CPPCHECK=ON -DSQLITECPP_RUN_DOXYGEN=ON -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON ..
|
|
cmake --build .
|
|
|
|
@REM prepare and launch tests
|
|
mkdir examples
|
|
mkdir examples\example1
|
|
copy ..\examples\example1\example.db3 examples\example1
|
|
copy ..\examples\example1\logo.png examples\example1
|
|
ctest --output-on-failure
|
|
cd ..
|