when building copy all qml files in build/org/kde/kirigami.2
as well generating the binary plugin there.
this is neccessary to be able to load and test the whole QML
import without installing it system wide
Details
Details
- Reviewers
dfaure sitter apol - Group Reviewers
Kirigami - Commits
- R169:c90968f1f8dc: create the whole plugin structure in the build directory
after make, the hierarchy under build is complete with the same files
that end up being installed
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Branch
- cmakehack
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Also you maybe can move this code into the tests subdirectory, so it only needs to be run in BUILD_TESTING.
I am not sure if this is going to work but I agree that if it has any opportunity then it's probably along these lines...
src/CMakeLists.txt | ||
---|---|---|
33 | Why do you need to GLOB? can't you just copy the whole directory over with all of the styles/controls inside? |
Comment Actions
i tought the direction now was to make things usable also when not installed, which would make it needed not only for tests
src/CMakeLists.txt | ||
---|---|---|
33 | if instead of the GLOB i put in the copy command directly the directory name, it seems to not actually copy anything |