File tree Expand file tree Collapse file tree 3 files changed +28
-28
lines changed
Expand file tree Collapse file tree 3 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 5656 set(ENV{CC} ${{ matrix.config.cc }})
5757 set(ENV{CXX} ${{ matrix.config.cxx }})
5858 - run : mkdir build
59- - run : cmake -G "${{ matrix.config.generator }}" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DSQLITECPP_BUILD_EXAMPLES =ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_RUN_CPPCHECK=OFF -DSQLITECPP_RUN_CPPLINT=OFF ..
59+ - run : cmake -G "${{ matrix.config.generator }}" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DBUILD_SHARED_LIBS =ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES =ON -DSQLITECPP_RUN_CPPCHECK=OFF -DSQLITECPP_RUN_CPPLINT=OFF ..
6060 working-directory : build
6161 - run : cmake --build build --config ${{ matrix.config.build_type }}
6262 - run : ctest --verbose --output-on-failure --test-dir build
Original file line number Diff line number Diff line change 1- @ REM Copyright (c) 2012-2023 Sebastien Rombauts ([email protected] )2- @ REM
3- @ REM Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
4- @ REM or copy at http://opensource.org/licenses/MIT)
5- mkdir build
6- cd build
7-
8- @ REM Generate a Visual Studio solution for latest version found
9- REM -DPYTHON_EXECUTABLE=D:\workspace\Corvus\UnrealEngine\Engine\Binaries\ThirdParty\Python\Win64\python.exe
10- cmake -DSQLITECPP_BUILD_EXAMPLES =ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_RUN_CPPLINT=OFF ..
11- @ if ERRORLEVEL 1 goto onError
12-
13- @ REM Build default configuration (ie 'Debug')
14- cmake --build .
15- @ if ERRORLEVEL 1 goto onError
16-
17- @ REM Build and run tests
18- ctest --output-on-failure
19- @ if ERRORLEVEL 1 goto onError
20-
21- @ goto onSuccess
22-
23- :onError
24- @ echo An error occured!
25- :onSuccess
26- @ cd ..
1+ @ REM Copyright (c) 2012-2023 Sebastien Rombauts ([email protected] )2+ @ REM
3+ @ REM Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
4+ @ REM or copy at http://opensource.org/licenses/MIT)
5+ mkdir build
6+ cd build
7+
8+ @ REM Generate a Visual Studio solution for latest version found
9+ REM -DPYTHON_EXECUTABLE=D:\workspace\Corvus\UnrealEngine\Engine\Binaries\ThirdParty\Python\Win64\python.exe
10+ cmake -DBUILD_SHARED_LIBS =ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES =ON -DSQLITECPP_RUN_CPPLINT=OFF ..
11+ @ if ERRORLEVEL 1 goto onError
12+
13+ @ REM Build default configuration (ie 'Debug')
14+ cmake --build .
15+ @ if ERRORLEVEL 1 goto onError
16+
17+ @ REM Build and run tests
18+ ctest --output-on-failure
19+ @ if ERRORLEVEL 1 goto onError
20+
21+ @ goto onSuccess
22+
23+ :onError
24+ @ echo An error occured!
25+ :onSuccess
26+ @ cd ..
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ mkdir -p build
1111cd build
1212
1313# Generate a Makefile for GCC (or Clang, depending on CC/CXX envvar)
14- cmake -DCMAKE_BUILD_TYPE=Debug -DSQLITECPP_USE_ASAN=ON -DSQLITECPP_USE_GCOV=OFF -DSQLITECPP_BUILD_EXAMPLES =ON -DSQLITECPP_BUILD_TESTS=ON ..
14+ cmake -DCMAKE_BUILD_TYPE=Debug -DSQLITECPP_USE_ASAN=ON -DSQLITECPP_USE_GCOV=OFF -DBUILD_SHARED_LIBS =ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES =ON ..
1515
1616# Build (ie 'make')
1717cmake --build .
You can’t perform that action at this time.
0 commit comments