mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-04 23:50:22 +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 ``` |
||
---|---|---|
.. | ||
SlintConfig.cmake.in | ||
SlintMacro.cmake |