slint/api/cpp/tests
Olivier Goffart 14f7fe4ba2
cmake: add flags to only build the compiler
... 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
```
2023-09-15 14:42:52 +02:00
..
multiple-includes
CMakeLists.txt cmake: add flags to only build the compiler 2023-09-15 14:42:52 +02:00
datastructures.cpp C++: rename SLINT_FEATURE_STD in SLINT_FEATURE_FREESTANDING with the opposite meaning 2023-08-21 16:52:30 +02:00
eventloop.cpp
interpreter.cpp
models.cpp
platform_eventloop.cpp C++: make Platform::duration_since_start non-const and pure 2023-08-30 14:59:41 +02:00
properties.cpp
test.slint
window.cpp