diff --git a/Examples/CppClient/ToolChain.cmake b/Examples/CppClient/ToolChain.cmake new file mode 100644 index 000000000..ae6e99bfe --- /dev/null +++ b/Examples/CppClient/ToolChain.cmake @@ -0,0 +1,11 @@ +message("Hello world!") + +set(CC, "$ENV{UE4_ROOT}/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang") +set(CXX, "$ENV{UE4_ROOT}/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++") + +message(STATUS "COMBINED_PATH: ${CC}") +message(STATUS "COMBINED_PATH: ${CXX}") + +set(CMAKE_C_COMPILER ${CC}) +set(CMAKE_CXX_COMPILER ${CXX}) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -pthread -fPIC -O3 -DNDEBUG" CACHE STRING "" FORCE)