首次推送
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Collect a small set of SDK headers to show in the IDE solution.
|
||||
# Depends on find_package(team_client|team_server) having run.
|
||||
|
||||
if("${sample_type}" STREQUAL "client")
|
||||
get_target_property(_ts_sdk_inc_dir teamspeak::client INTERFACE_INCLUDE_DIRECTORIES)
|
||||
elseif("${sample_type}" STREQUAL "server")
|
||||
get_target_property(_ts_sdk_inc_dir teamspeak::server INTERFACE_INCLUDE_DIRECTORIES)
|
||||
else()
|
||||
set(_ts_sdk_inc_dir "")
|
||||
endif()
|
||||
|
||||
set(TS_SDK_IDE_FILES "")
|
||||
if(_ts_sdk_inc_dir)
|
||||
file(GLOB _ts_log_headers "${_ts_sdk_inc_dir}/teamlog/*.h")
|
||||
list(APPEND TS_SDK_IDE_FILES
|
||||
${_ts_log_headers}
|
||||
"${_ts_sdk_inc_dir}/teamspeak/public_definitions.h"
|
||||
"${_ts_sdk_inc_dir}/teamspeak/public_errors.h"
|
||||
)
|
||||
if("${sample_type}" STREQUAL "client")
|
||||
list(APPEND TS_SDK_IDE_FILES "${_ts_sdk_inc_dir}/teamspeak/clientlib.h")
|
||||
elseif("${sample_type}" STREQUAL "server")
|
||||
list(APPEND TS_SDK_IDE_FILES
|
||||
"${_ts_sdk_inc_dir}/teamspeak/server_commands_file_transfer.h"
|
||||
"${_ts_sdk_inc_dir}/teamspeak/serverlib.h"
|
||||
"${_ts_sdk_inc_dir}/teamspeak/serverlib_publicdefinitions.h"
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
@@ -0,0 +1,10 @@
|
||||
set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_PROCESSOR aarch64)
|
||||
set(triple aarch64-linux-gnueabi)
|
||||
set(CMAKE_C_COMPILER clang)
|
||||
set(CMAKE_C_COMPILER_TARGET ${triple})
|
||||
set(CMAKE_CXX_COMPILER clang++)
|
||||
set(CMAKE_CXX_COMPILER_TARGET ${triple})
|
||||
set(CMAKE_SYSROOT /usr/aarch64-linux-gnu)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-fuse-ld=/usr/aarch64-linux-gnu/bin/ld" CACHE FILEPATH "" FORCE)
|
||||
set(CMAKE_AR /usr/aarch64-linux-gnu/bin/ar CACHE FILEPATH "" FORCE)
|
||||
Reference in New Issue
Block a user