-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
diligent-core: add package_type, clean up a bit #24476
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Thanks a lot for taking the time to clean this recipe up @valgur, really appreciated :)
Ignore the unexpected CI issue, we're working on it, will retrigger the ci once it's ready
DXC-License.txt DXC-ThirdPartyNotices.txt GLEW-License.txt stb_image_write_license.txt
Conan v1 pipeline ❌Failure in build 2 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping Failure in build 2 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
if is_msvc(self.info): | ||
if is_msvc_static_runtime(self.info): | ||
self.info.settings.compiler.runtime = "MT/MTd" | ||
else: | ||
self.info.settings.compiler.runtime = "MD/MDd" |
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.
I think this might be problematic. Do you have any extra insight into why this was needed in the first place in #7804? Or how can this library work when discarding such runtime info? If we're not sure about this, we should remove this erasure - at worst we only need to compile a few more binaries
Summary
Changes to recipe: diligent-core/*
Motivation
Includes some changes from #21522 that did not get merged in favor of the superseding PR.
Details
package_type
.CMAKE_PROJECT_DiligentCore_INCLUDE=conan_deps.cmake
instead of patching.self.cpp_info.resdirs = ["res"]
BuildUtils.cmake
, sodiligent-tools
anddiligent-fx
don't need to include it with their recipes (https://github.com/conan-io/conan-center-index/blob/master/recipes/diligent-tools/all/BuildUtils.cmake).