-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow cxx-qt-build to deal with build scripts running in parallel (#999)
* refactor: Rename CXXQT_* variables to CXX_QT_* This is more in line with our crate naming (cxx-qt, not cxxqt) and is more consistent, as before we were using both. Fix #996 * refactor: Rename cxxqt_ CMake functions to cxx_qt_ This is more consistent with all our other naming. * fix: build: Use export_dir on final crate only Cargo can sometimes build different configurations of the same crate in parallel. This caused some failures with our new build system. However, we can solve this by reverting to the OUT_DIR again. Using the OUT_DIR is the only supported way to write artifacts anyway. However, we still need to export data for CMake. Therefore, we define an additional flag for each exact crate that CMake is trying to import. Only this exact crate will then export its data. As CMake should only build a single configuration at a time, this should not conflict. * book: Document user-facing changes to CMake build * cmake: Resolve ${CRATE} and ${APP_NAME} variables At least do so in `qml_minimal`. I got the feedback from Milian that this is rather hard to read otherwise, which I agree with. Especially as that's the code we include in our getting-started guide it should be as simple as possible. * book: Update internals documentation This is now slightly different, as we're no longer using a shared export directory
- Loading branch information
1 parent
c7922e4
commit 02e5be6
Showing
19 changed files
with
115 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.