rm boost for fix

This commit is contained in:
Martin Baliet 2024-02-28 11:52:37 +01:00
parent 537d1acb36
commit 625ac03efe
3 changed files with 21 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "boost"]
path = third_party/boost
url = https://github.com/SysRay/psOff_public.git

4
.vscode/tasks.json vendored
View File

@ -23,11 +23,11 @@
"command": "cmake.exe",
"args": [
"-S${workspaceFolder}",
"-B_build/_Release",
"-B_build/",
"-GNinja",
"-DEMULATOR_DEV_ROOT=../_build/_Install/development",
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_INSTALL_PREFIX=_build/_Install",
"-DCMAKE_INSTALL_PREFIX=../_build/_Install",
"-DCMAKE_C_COMPILER=clang-cl.exe",
"-DCMAKE_CXX_COMPILER=clang-cl.exe",
"-DCMAKE_EXPORT_COMPILE_COMMANDS=1",

View File

@ -2,4 +2,20 @@ add_subdirectory(portAudio)
install(DIRECTORY "ffmpeg/bin/" DESTINATION "${CMAKE_BINARY_DIR}/bin"
FILES_MATCHING PATTERN "*.dll"
)
set(BOOST_INCLUDE_LIBRARIES "program_options;date_time;interprocess;stacktrace;uuid;beast;signals2;thread")
ExternalProject_Add(boost_thirdParty
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/boost
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/boost
CMAKE_ARGS
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/install
-DCMAKE_CXX_FLAGS_RELEASE=${CMAKE_CXX_FLAGS_RELEASE}
-DCMAKE_C_FLAGS_RELEASE=${CMAKE_C_FLAGS_RELEASE}
-DBoost_USE_STATIC_LIBS=ON
-DBoost_USE_MULTITHREADED=ON
-DBUILD_TESTING=OFF
-DBOOST_INSTALL_LAYOUT=system
CMAKE_CACHE_ARGS -DBOOST_INCLUDE_LIBRARIES:STRING=${BOOST_INCLUDE_LIBRARIES}
)