2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

CMake: Output binaries to bin/

This commit is contained in:
spycrab 2018-01-15 10:42:40 +01:00
parent bf1084ff6e
commit 8a440faa69
3 changed files with 7 additions and 4 deletions

View file

@ -8,7 +8,7 @@ COMPRESSION_FLAGS="-cJvf"
mkdir "$REV_NAME" mkdir "$REV_NAME"
cp build/src/yuzu_cmd/yuzu-cmd "$REV_NAME" cp build/bin/yuzu-cmd "$REV_NAME"
cp build/src/yuzu/yuzu "$REV_NAME" cp build/bin/yuzu "$REV_NAME"
. .travis/common/post-upload.sh . .travis/common/post-upload.sh

View file

@ -8,8 +8,8 @@ COMPRESSION_FLAGS="-czvf"
mkdir "$REV_NAME" mkdir "$REV_NAME"
cp build/src/yuzu_cmd/yuzu-cmd "$REV_NAME" cp build/bin/yuzu-cmd "$REV_NAME"
cp -r build/src/yuzu/yuzu.app "$REV_NAME" cp -r build/bin/yuzu.app "$REV_NAME"
# move qt libs into app bundle for deployment # move qt libs into app bundle for deployment
$(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/yuzu.app" $(brew --prefix)/opt/qt5/bin/macdeployqt "${REV_NAME}/yuzu.app"

View file

@ -160,6 +160,9 @@ if (NOT Boost_FOUND)
find_package(Boost QUIET REQUIRED) find_package(Boost QUIET REQUIRED)
endif() endif()
# Output binaries to bin/
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
# Prefer the -pthread flag on Linux. # Prefer the -pthread flag on Linux.
set(THREADS_PREFER_PTHREAD_FLAG ON) set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED) find_package(Threads REQUIRED)