-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set -DBUILD_SHARED_LIBS=ON by default on scripts and CI/CD (#442)
set CMAKE_RUNTIME_OUTPUT_DIRECTORY so that executables and dlls share the bin/ directory
- Loading branch information
Showing
4 changed files
with
32 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
@REM Copyright (c) 2012-2023 Sebastien Rombauts ([email protected]) | ||
@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 a Visual Studio solution for latest version found | ||
REM -DPYTHON_EXECUTABLE=D:\workspace\Corvus\UnrealEngine\Engine\Binaries\ThirdParty\Python\Win64\python.exe | ||
cmake -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_RUN_CPPLINT=OFF .. | ||
@if ERRORLEVEL 1 goto onError | ||
|
||
@REM Build default configuration (ie 'Debug') | ||
cmake --build . | ||
@if ERRORLEVEL 1 goto onError | ||
|
||
@REM Build and run tests | ||
ctest --output-on-failure | ||
@if ERRORLEVEL 1 goto onError | ||
|
||
@goto onSuccess | ||
|
||
:onError | ||
@echo An error occured! | ||
:onSuccess | ||
@cd .. | ||
@REM Copyright (c) 2012-2023 Sebastien Rombauts ([email protected]) | ||
@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 a Visual Studio solution for latest version found | ||
REM -DPYTHON_EXECUTABLE=D:\workspace\Corvus\UnrealEngine\Engine\Binaries\ThirdParty\Python\Win64\python.exe | ||
cmake -DBUILD_SHARED_LIBS=ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_RUN_CPPLINT=OFF .. | ||
@if ERRORLEVEL 1 goto onError | ||
|
||
@REM Build default configuration (ie 'Debug') | ||
cmake --build . | ||
@if ERRORLEVEL 1 goto onError | ||
|
||
@REM Build and run tests | ||
ctest --output-on-failure | ||
@if ERRORLEVEL 1 goto onError | ||
|
||
@goto onSuccess | ||
|
||
:onError | ||
@echo An error occured! | ||
:onSuccess | ||
@cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters