change tool chain for examples
This commit is contained in:
parent
eb0fb21dbf
commit
1495df195b
|
@ -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)
|
Loading…
Reference in New Issue