mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
... and to use an external compiler For example, this is how one only build the compiler: ``` cmake .. -DSLINT_BUILD_RUNTIME=OFF -DCMAKE_INSTALL_PREFIX=/tmp/slint_compiler make install ``` And this only build the runtime ``` cmake .. -DSLINT_FEATURE_COMPILER=OFF -DCMAKE_INSTALL_PREFIX=/tmp/install_runtime make install ``` And then this can be used in a project like so: ``` cmake .. -DCMAKE_PREFIX_PATH=/tmp/install_runtime/ -DSLINT_COMPILER=/tmp/install_compiler/bin/slint-compiler ``` |
||
|---|---|---|
| .. | ||
| multiple-includes | ||
| CMakeLists.txt | ||
| datastructures.cpp | ||
| eventloop.cpp | ||
| interpreter.cpp | ||
| models.cpp | ||
| platform_eventloop.cpp | ||
| properties.cpp | ||
| test.slint | ||
| window.cpp | ||