CMake/Docs/crossplatform.md

20 lines
646 B
Markdown
Raw Permalink Normal View History

2021-04-20 12:09:13 +03:00
2021-04-20 12:26:53 +03:00
# Crossplatform module
2021-04-20 12:09:13 +03:00
This module include crossplatform toolchains by target platform. To select target platform set the TARGET_PLATFORM_TOOLCHAIN define.
**Availabel platforms:**
2021-04-22 17:16:58 +03:00
* wasm32 - use the initWasmSupport function
2021-04-20 12:09:13 +03:00
* win32-g++
* win64-g++
**Note:**
For add full support of the wasm32 build you shold use the initWasmSupport method.
**initWasmSupport** (name deployFile) - This method prepare static build for wasm executable and qt resources.
* name - This is name of your initialize targets. You can set it as a CMAKE_PROJECT
2021-04-22 17:16:58 +03:00
* deployFile - This is path to the deploy file of the cqtdepoyer tool. Use it for deploy your site.