slint/api/cpp/docs
Simon Hausmann 3c65c6177d Fix C++ memory game tutorial not starting out of the box on Windows
After commit 3e5aa212d5 the Slint DLLs
aren't placed in the `bin/` directory by default anymore. Since the
tutorial builds Slint as an external sub-project, it is entirely
isolated and the CMAKE_*_OUTPUT_DIRECTORY variables do not propagate. On
macOS and Linux, the program still runs due to rpath. On Windows, the
instructions said to put `bin` into `%PATH%`, but that doesn't work
anymore, the dll is now in `_deps/slint-build`.

Instead of adjusting `%PATH%`, this change adjusts the documentation to
recommend the use of a custom command on Windows using
$<TARGET_RUNTIME_DLLS:tgt> to copy the DLL across. This is guarded with
WIN32 due to https://gitlab.kitware.com/cmake/cmake/-/issues/23543 ,
where the proposed solution requires CMake 3.26 (not released yet).
2023-01-09 13:30:13 +01:00
..
_static [reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs 2022-01-31 18:24:33 +01:00
_templates Update the injected scripts to the new name 2022-02-02 12:26:55 +01:00
.gitignore Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
cmake.md Fix C++ memory game tutorial not starting out of the box on Windows 2023-01-09 13:30:13 +01:00
conf.py Bump version number to 0.3.4 2022-12-16 09:36:15 +00:00
generated_code.md doc: prospective fix for rendering of example snippet in C++ generated code docs 2022-11-02 09:54:03 +01:00
genindex.rst Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
getting_started.md Fix C++ memory game tutorial not starting out of the box on Windows 2023-01-09 13:30:13 +01:00
index.rst Remove the Rust and C++ migration guides from the documentation 2022-09-09 16:53:49 +02:00
language.rst Generate the enum documentation based of the common/enums.rs 2022-05-13 13:15:51 +02:00
overview.md SixtyFPS -> Slint in the C++ documentation 2022-02-02 15:19:13 +01:00
Pipfile Unpin the markdown dep 2022-07-25 12:03:43 +02:00
types.md Introduce a rem unit in the type system 2022-11-24 11:33:38 +01:00