SQLiteCpp/build.sh
2013-09-02 22:42:51 +02:00

17 lines
447 B
Bash
Executable File

# 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 .