[qt/qt/qtquick3d-assimp]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt/qtquick3d-assimp
Pushed by mirror-service into branch 'upstream/master'.
Changed from 072692150aa8bf96533d434505391285d892f6c7 to 76ec41ed71419ec17fc1087695bbf9cc4934cb62
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 76ec41ed71419ec17fc1087695bbf9cc4934cb62 by GitHub (on behalf of Thomas Petazzoni) on 19/08/2026 at 08:31..
CMakeLists.txt: make it possible to install tests (#6776)

In cross-compilation contexts, running tests needs to be done on the
target machine, for which assimp was cross-compiled. This is currently
not possible as the unit tests are not installed, and remain inside
the source tree... which is not available on the target platform after
assimp has been installed.

To make it possible to run tests on the target platform, this commit
adds a new ASSIMP_INSTALL_TESTS, which allows to install tests. By
default it is set to OFF, preserving existing behavior.

However, if it is set to ON, then:

- The test/unit binary will be installed as /usr/bin/assimp-unit on
  the target

- The models will be installed in /usr/share/assimp/models and
  /usr/share/assimp-models-nonbsd

- The test/unit binary will be compiled with the right paths to the
  models

On a Buildroot-generated system, this allows to successfully run the
test suite:

```
 Welcome to Buildroot
 buildroot login: root
 # assimp-unit
 [...]
 [----------] Global test environment tear-down
 [==========] 584 tests from 114 test suites ran. (42484 ms total)
 [  PASSED  ] 584 tests.
 # echo $?
 0
 #
```

Signed-off-by: Thomas Petazzoni <[email protected]>
Co-authored-by: Kim Kulling <[email protected]>
https://invent.kde.org/qt/qt/qtquick3d-assimp/-/commit/76ec41ed71419ec17fc1087695bbf9cc4934cb62
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.