Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mosra/toolchains
Toolchains for crosscompiling with CMake.
https://github.com/mosra/toolchains
android archlinux cmake emscripten ios magnum mingw
Last synced: 6 days ago
JSON representation
Toolchains for crosscompiling with CMake.
- Host: GitHub
- URL: https://github.com/mosra/toolchains
- Owner: mosra
- License: unlicense
- Created: 2010-09-18T22:48:48.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2025-01-22T15:15:28.000Z (18 days ago)
- Last Synced: 2025-01-26T21:14:36.979Z (14 days ago)
- Topics: android, archlinux, cmake, emscripten, ios, magnum, mingw
- Language: CMake
- Homepage: https://magnum.graphics/
- Size: 113 KB
- Stars: 91
- Watchers: 11
- Forks: 31
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
This repository contains toolchains usable for crosscompiling with CMake.
They're tailored for and mainly used by [Magnum](https://github.com/mosra/magnum)
but should work for other projects as well.USAGE
=====Assuming a CMake project, point `CMAKE_TOOLCHAIN_FILE` to one of the toolchain
files during the initial CMake invocation. While relative paths may work in
certain cases, it's better to always pass an absolute path. The
`CMAKE_TOOLCHAIN_FILE` variable is only used by CMake during the initial run,
it's ignored (and thus doesn't even need to be specified) in subsequent runs.mkdir build-emscripten && cd build-emscripten
cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/toolchains/generic/Emscripten-wasm.cmakeThe toolchain file then sets up other paths (such as pointing
`CMAKE_MODULE_PATH` to the `modules/Platform/` directory) and the process will
result in a configured build directory that can be subsequently used as any
other. See comments in particular toolchain files for platform-specific
details.CONTACT & SUPPORT
=================This project is maintained as part of Magnum, so it shares the same suppport
channels:- Project homepage — https://magnum.graphics/
- Documentation — https://doc.magnum.graphics/
- GitHub — https://github.com/mosra/toolchains and the
[#magnum](https://github.com/topics/magnum) topic
- GitLab — https://gitlab.com/mosra/toolchains
- Gitter community chat — https://gitter.im/mosra/magnum
- E-mail — [email protected]
- Google Groups mailing list — [email protected]
([archive](https://groups.google.com/forum/#!forum/magnum-engine))
- Twitter — https://twitter.com/czmosra and the
[#MagnumEngine](https://twitter.com/hashtag/MagnumEngine) hashtagSee also the Magnum Project [Contact & Support page](https://magnum.graphics/contact/)
for further information.LICENSE
=======While Magnum itself and its documentation are licensed under the MIT/Expat
license, the toolchains are put into public domain (or UNLICENSE) to free you
from any legal obstacles when using these to build your apps. See the
[COPYING](COPYING) file for details.