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

Conan Package #7

Closed
TheFloatingBrain opened this issue Jun 7, 2022 · 3 comments
Closed

Conan Package #7

TheFloatingBrain opened this issue Jun 7, 2022 · 3 comments
Labels
question Further information is requested

Comments

@TheFloatingBrain
Copy link

TheFloatingBrain commented Jun 7, 2022

I wrote a conan recipe for this library and have made a relevant issue for it on bincrafters community for its inclusion, just thought I would let the contributors know 😄

One thing that I did have to do to make it work was edit the recipe for imgui-sfml 2.5 to use the imgui-docking source in order to make it work, could the dependency on this branch be removed (at least optionally)?

@angeluriot
Copy link
Owner

I don't understand what connan and bincrafters are.

@TheFloatingBrain
Copy link
Author

TheFloatingBrain commented Jun 9, 2022

I don't understand what connan and bincrafters are.

Conan is a package manager to make life easier, instead of installing and linking every library manually conan does it for you, you only need to provide a conanfile.txt file that provides some basic info like the library you would like and its version, its like npm for node/javascript or pip for python except for C++

You can have multiple profiles and versions of the library and it does not get so messy, in your CMakeLists.txt you can just specify ${CONAN_LIBS} to link the libraries, and include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) so you dont need to know the paths here is an example I made to test the dimension3d package

Bincrafters I guess package a bunch of libraries for conan and host them (or use too), dont know much about it either

@angeluriot
Copy link
Owner

Ok thanks, but I think you're wrong about this library, it's really something I did for me, it's very poorly done, just enough to make my projects work, it doesn't have at all the rigor needed to be part of a package manager.

@angeluriot angeluriot added the question Further information is requested label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants