add support for linux clang cross compiles

This commit is contained in:
ryleu authored and neoapps-dev committed 2026-04-08 12:03:15 +03:00
1 parent b2f00d16e6
commit 5eab358dde
889 files changed
+4170 -3569

No files matched your search

+3
View File
@@ -39,6 +39,9 @@ if(CMAKE_HOST_WIN32)
endforeach()
elseif(CMAKE_HOST_UNIX)
# Ensure destination directory exists
file(MAKE_DIRECTORY "${COPY_DEST}")
execute_process(
COMMAND rsync -av ${COPY_SOURCE} "${COPY_DEST}/"
RESULT_VARIABLE rs
+3
View File
@@ -46,6 +46,9 @@ if(CMAKE_HOST_WIN32)
message(FATAL_ERROR "robocopy failed (exit code ${rc})")
endif()
elseif(CMAKE_HOST_UNIX)
# Ensure destination directory exists
file(MAKE_DIRECTORY "${COPY_DEST}")
set(rsync_args -av)
foreach(pattern IN LISTS EXCLUDE_FILES)