Add dedicated Binaries directory for build targets

This commit is contained in:
Jack Andersen 2018-05-10 12:00:03 -10:00
parent 3911a2873d
commit 280ae47b15
3 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # because of c++17 cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # because of c++17
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Binaries)
if(APPLE AND NOT CMAKE_OSX_SYSROOT) if(APPLE AND NOT CMAKE_OSX_SYSROOT)
# If the Xcode SDK is lagging behind system version, CMake needs this done first # If the Xcode SDK is lagging behind system version, CMake needs this done first
execute_process(COMMAND xcrun --sdk macosx --show-sdk-path execute_process(COMMAND xcrun --sdk macosx --show-sdk-path

View File

@ -121,12 +121,6 @@ set_target_properties(urde PROPERTIES
if (NOT WINDOWS_STORE) if (NOT WINDOWS_STORE)
add_dependencies(urde visigen hecl) add_dependencies(urde visigen hecl)
add_custom_command(TARGET urde POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:visigen> $<TARGET_FILE_DIR:urde>)
add_custom_command(TARGET urde POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:visigen> $<TARGET_FILE_DIR:hecl>)
add_custom_command(TARGET urde POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:hecl> $<TARGET_FILE_DIR:urde>)
else() else()
set_property(TARGET urde PROPERTY VS_WINRT_COMPONENT TRUE) set_property(TARGET urde PROPERTY VS_WINRT_COMPONENT TRUE)
# This should match the Package.appxmanifest # This should match the Package.appxmanifest

View File

@ -1,7 +1,5 @@
#include "CSortedLists.hpp" #include "CSortedLists.hpp"
#include "World/CActor.hpp" #include "World/CActor.hpp"
#include "Weapon/CEnergyProjectile.hpp"
#include "TCastTo.hpp"
namespace urde namespace urde
{ {