Skip to content
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

Adding cpp_info objects model for linking object files #9520

Merged
merged 24 commits into from Oct 5, 2021

Conversation

@czoido czoido marked this pull request as draft September 2, 2021 06:31
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One functional test that really links and execute an app with a couple of objects, for this feature please

@czoido
Copy link
Contributor Author

czoido commented Sep 2, 2021

One functional test that really links and execute an app with a couple of objects, for this feature please

I'm on it, I already tested the feature with mimalloc: https://github.com/conan-io/conan-center-index/tree/master/recipes/mimalloc

Copy link
Contributor

@lasote lasote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty cool!

@czoido czoido marked this pull request as ready for review September 6, 2021 08:12
@memsharded memsharded self-assigned this Oct 4, 2021
@memsharded memsharded added this to the 1.41 milestone Oct 4, 2021
project(HelloLib)
file(GLOB HEADERS *.h)
add_library(myobject OBJECT myobject.cpp)
add_library(hello hello.cpp hello.h)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the "hello" library? Is not possible to have a package with just the objects? (I would say it is also an expected use case). I guess everything should work, but with CMake, who knows...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants