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 reuse: remove glob for markdown files 2023-08-17 08:55:28 +02:00
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 Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
interpreter.cpp C++: rename slint_intepreter.h to slint-interpreter.h 2023-07-27 15:42:11 +02:00
models.cpp Added cpp ReverseModel (#3132) 2023-07-24 11:32:45 +02:00
platform_eventloop.cpp C++: make Platform::duration_since_start non-const and pure 2023-08-30 14:59:41 +02:00
properties.cpp Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
test.slint Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
window.cpp C++: rename slint_intepreter.h to slint-interpreter.h 2023-07-27 15:42:11 +02:00