You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
393 B
16 lines
393 B
# Uncomment the following to use cross-compiling
|
|
#set(CMAKE_SYSTEM_NAME Linux)
|
|
|
|
set(CMAKE_COMPILER_VENDOR "clang")
|
|
|
|
if(WIN32)
|
|
set(CMAKE_C_COMPILER clang-cl)
|
|
set(CMAKE_CXX_COMPILER clang-cl)
|
|
else()
|
|
set(CMAKE_C_COMPILER clang)
|
|
set(CMAKE_CXX_COMPILER clang++)
|
|
endif()
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
# the following is used if cross-compiling
|
|
set(CMAKE_CROSSCOMPILING_EMULATOR "")
|
|
|