diff --git a/CMakeLists.txt b/CMakeLists.txt index a651b6378..be2276104 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ 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 the Xcode SDK is lagging behind system version, CMake needs this done first execute_process(COMMAND xcrun --sdk macosx --show-sdk-path diff --git a/Editor/CMakeLists.txt b/Editor/CMakeLists.txt index aa590a817..7e4b35cdc 100644 --- a/Editor/CMakeLists.txt +++ b/Editor/CMakeLists.txt @@ -121,12 +121,6 @@ set_target_properties(urde PROPERTIES if (NOT WINDOWS_STORE) add_dependencies(urde visigen hecl) - add_custom_command(TARGET urde POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy $ $) - add_custom_command(TARGET urde POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy $ $) - add_custom_command(TARGET urde POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy $ $) else() set_property(TARGET urde PROPERTY VS_WINRT_COMPONENT TRUE) # This should match the Package.appxmanifest diff --git a/Runtime/CSortedLists.cpp b/Runtime/CSortedLists.cpp index 0efb31da1..57d68a380 100644 --- a/Runtime/CSortedLists.cpp +++ b/Runtime/CSortedLists.cpp @@ -1,7 +1,5 @@ #include "CSortedLists.hpp" #include "World/CActor.hpp" -#include "Weapon/CEnergyProjectile.hpp" -#include "TCastTo.hpp" namespace urde {