You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am distributing toolchains and inside them there is a clang config file and CMake toolchain file. For clang I can use <CFGDIR>, and for CMake CMAKE_CURRENT_LIST_DIR. The idea is that a user can extract the toolchain to anywhere on their system, then specify --cross-file, and arguments like --sysroot and -resource-dir can be set relative to the direcory.
For example the clang config file looks like this, and the user specifies --config:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am distributing toolchains and inside them there is a clang config file and CMake toolchain file. For clang I can use
<CFGDIR>
, and for CMakeCMAKE_CURRENT_LIST_DIR
. The idea is that a user can extract the toolchain to anywhere on their system, then specify --cross-file, and arguments like--sysroot
and-resource-dir
can be set relative to the direcory.For example the clang config file looks like this, and the user specifies
--config
:or the CMake toolchain:
Is there any way to do this in meson?
Beta Was this translation helpful? Give feedback.
All reactions