Files
UnrealEngineUWP/Engine/Source/ThirdParty/CMake/PlatformScripts/Linux/Linux-x86_64-unknown-linux-gnu.cmake
devin doucette 0d0880c989 Extended and added platforms to UAT BuildCMakeLib
- Wrapped the build in try/finally to always clean up of the build directory.
- Fixed target platform construction to include the target architecture.
- Fixed target platform construction to log an error on failure instead of crashing on a null dereference later.
- Fixed configuration name comparisons to be case-insensitive.
- Added an optional BinOutputPath param to match LibOutputPath.
- Changed to an empty default MakeTarget because CMake was not generating a target with the previous default name.
- Changed BuildTargetLib to use cmake --build instead of implementing custom build logic for every target platform.
- Changed Linux to use CMake and make from the path instead of attempting to use the Mac binaries.
- Simplified the TargetPlatform interface to remove a lot of boilerplate code from the implementations.

#jira none
#rb Brandon.Schaefer

[CL 14439522 by devin doucette in ue5-main branch]
2020-10-07 13:32:27 -04:00

10 lines
360 B
CMake

# Copyright Epic Games, Inc. All Rights Reserved.
set(CMAKE_SYSTEM_PROCESSOR x86_64)
set(CMAKE_C_COMPILER_TARGET x86_64-unknown-linux-gnu)
set(CMAKE_CXX_COMPILER_TARGET x86_64-unknown-linux-gnu)
# Required for PlatformScripts/Linux/Linux to be found.
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../..")
include(PlatformScripts/Linux/Linux)