-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meta project fixes #5
Meta project fixes #5
Conversation
No need to change the privacy of these; just need to have the symbols referenced within the staticlib crate.
to avoid linking failures as described in comment
@@ -202,10 +202,13 @@ endif() | |||
set(CARGO_TARGET_DIR "${CMAKE_BINARY_DIR}/${BUILD_DIR}/cargo/build") | |||
|
|||
# Add CMake tests for `cargo test/clippy/fmt/doc`. | |||
add_test(NAME cargo_tests COMMAND cargo test --features link_qt_object_files --all-targets --target-dir | |||
${CARGO_TARGET_DIR}) | |||
add_test(NAME cargo_doc_tests COMMAND cargo test --features link_qt_object_files --doc --target-dir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can --all-targets
and --exclude
not be combined? So that it does "all except qml-meta-project"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this failed to build on Windows Qt 5 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--exclude
only works with --workspace
, not --all-targets
I've tried disabling parallelization in both CMake and Cargo... I think we've stumbled on a bug in rustc 😵 Why it only happens with Qt5, I have no idea... |
Fun, we might need to try on a real Windows system to see what is going on. |
Lets merge this into the branch so it's get visibility in the main repo... |
77ced1f
into
ahayzen-kdab:592-multi-crate-project
Okay. I'm not very inclined to use a Windows VM to figure out what's going on with that weird build error... so... 🤷 |
No description provided.