mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-23 14:29:39 +00:00
rm boost for fix
This commit is contained in:
parent
537d1acb36
commit
625ac03efe
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "boost"]
|
||||
path = third_party/boost
|
||||
url = https://github.com/SysRay/psOff_public.git
|
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -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",
|
||||
|
16
third_party/CMakeLists.txt
vendored
16
third_party/CMakeLists.txt
vendored
@ -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}
|
||||
)
|
Loading…
Reference in New Issue
Block a user