mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Adding a build script for Linux/Unixes
This commit is contained in:
parent
9c7d929ec5
commit
7d775e67c8
@ -12,6 +12,6 @@ cmake --build .
|
||||
@REM prepare and launch tests
|
||||
mkdir examples
|
||||
mkdir examples\example1
|
||||
cp ../examples/example1/example.db3 examples/example1/
|
||||
cp ../examples/example1/logo.png examples/example1/
|
||||
copy ..\examples\example1\example.db3 examples\example1
|
||||
copy ..\examples\example1\logo.png examples\example1
|
||||
ctest .
|
||||
|
16
build.sh
Executable file
16
build.sh
Executable file
@ -0,0 +1,16 @@
|
||||
# Copyright (c) 2013 Sébastien Rombauts (sebastien.rombauts@gmail.com)
|
||||
#
|
||||
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
|
||||
# or copy at http://opensource.org/licenses/MIT)
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
# generate solution for GCC
|
||||
cmake ..
|
||||
cmake --build .
|
||||
|
||||
# prepare and launch tests
|
||||
mkdir -p examples/example1
|
||||
cp ../examples/example1/example.db3 examples/example1
|
||||
cp ../examples/example1/logo.png examples/example1
|
||||
ctest .
|
Loading…
x
Reference in New Issue
Block a user