Browse Source

External build system generator release 13

Update tools: yexport
robot-ya-builder 2 years ago
parent
commit
db18dab5ac
2 changed files with 29 additions and 2 deletions
  1. 2 2
      cmake/common.cmake
  2. 27 0
      cmake/conan-profiles/linux.aarch64.profile

+ 2 - 2
cmake/common.cmake

@@ -166,8 +166,8 @@ function(resources Tgt Output)
   endforeach()
   add_custom_command(
     OUTPUT ${Output}
-    COMMAND rescompiler ${Output} ${ResourcesList}
-    DEPENDS ${RESOURCE_ARGS_INPUTS}
+    COMMAND ${TOOLS_ROOT}/tools/rescompiler/bin/rescompiler ${Output} ${ResourcesList}
+    DEPENDS ${RESOURCE_ARGS_INPUTS} ${TOOLS_ROOT}/tools/rescompiler/bin/rescompiler
   )
 endfunction()
 

+ 27 - 0
cmake/conan-profiles/linux.aarch64.profile

@@ -0,0 +1,27 @@
+include(default)
+
+target_host=aarch64-linux-gnu
+
+[settings]
+arch=armv8
+build_type=Release
+compiler=clang
+compiler.libcxx=libc++
+compiler.version=14
+compiler.cppstd=20
+os=Linux
+[options]
+
+[env]
+CONAN_CMAKE_FIND_ROOT_PATH=/usr/$target_host
+CONAN_CMAKE_SYSROOT=/usr/$target_host
+CC=clang
+CXX=clang++
+CXXFLAGS="-I/usr/$target_host/include/ -target $target_host"
+CFLAGS="-I/usr/$target_host/include/ -target $target_host"
+CHOST=$target_host
+AR=$target_host-ar
+AS=$target_host-as
+RANLIB=$target_host-ranlib
+LD=$target_host-ld
+STRIP=$target_host-strip