mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
bf83f2442d
- Rough start of the SQLite integration to facilitate the SQL queries - Cleanup and disable a little bit of code so the game no longer crashes when entering the editor - Implement some of the mouse data stuff ![image](https://user-images.githubusercontent.com/13153231/202881481-95bc0a2a-ac3d-4f65-aff1-b9f7ee5ee345.png) https://user-images.githubusercontent.com/13153231/202881484-399747e7-dcdb-4e09-93e9-b561a45c8a18.mp4 This is a very old branch so best to get it merged now that it's at a decent point so it can be iterated on.
26 lines
874 B
Bash
Vendored
Generated
26 lines
874 B
Bash
Vendored
Generated
#!/bin/sh
|
|
# Copyright (c) 2012-2020 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)
|
|
|
|
# exit on first error
|
|
set -e
|
|
|
|
mkdir -p build
|
|
cd build
|
|
|
|
# Generate a Makefile for GCC (or Clang, depanding on CC/CXX envvar)
|
|
cmake -DCMAKE_BUILD_TYPE=Debug -DSQLITECPP_USE_ASAN=ON -DSQLITECPP_USE_GCOV=OFF -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON ..
|
|
|
|
# Build (ie 'make')
|
|
cmake --build .
|
|
|
|
# Build and run unit-tests (ie 'make test')
|
|
ctest --output-on-failure
|
|
|
|
# And with Valgrind
|
|
echo "Note: uncomment to run valgrind memcheck"
|
|
#valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --error-exitcode=1 ./SQLiteCpp_example1
|
|
#valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --error-exitcode=1 ./SQLiteCpp_tests
|