slint-ui / slint-ui/slint-cpp-template

`cmake --install` is broken

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
CMake
Stars
76
Forks
19
PR merge metrics
No merged PRs in 30d

Description

There are two issues when running cmake --install $builddir:

  1. The application binary isn't installed.
  2. When Slint is built via FetchContent, Slint is installed with headers, slint-compiler, etc. instead.

Expected outcome:

  1. The application binary is installed
    2.libslint_cpp.so is installed next to it. Perhaps this could be done using CMake's runtime dependency support.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing cmake --install $builddir in the C++ template, then inspect its CMake install rules and FetchContent setup. Done means the application binary and libslint_cpp.so are installed together, while Slint headers and compiler artifacts are not installed unintentionally.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.