-
Notifications
You must be signed in to change notification settings - Fork 5
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
Some Changes: CMake, double free, auto to unique_ptr (sed action) #2
base: master
Are you sure you want to change the base?
Conversation
For generators we proably want something else (by value or shared_ptr).
that defines an imported target if we know the future library location.
Wow, thanks for the contribution! As you can see from the date of the last commit in this repo, I have abandoned I'll go through this PR during the next few days and give feedback. You might also be interested to know that igraph has recently received a grant from CZI to support further development, which means that we could continue working on |
(One more thing: we have a branch in https://github.com/igraph/igraph where we are working on a CMake-based build system for igraph. Once that is done it would be much easier to add igraph as a subproject in igraphpp). |
@ntamas what is wrong with the tag? |
I guess Discourse uses square brackets for special markup (e.g., boldface, italic, inline links) so you need to escape them somehow. |
It worked when I used |
Hi,
I am helping a friend to evaluate a few graph libraries to find one that he can use with his students in the PACE challenge. Igraph(pp) is one of the top 3.
Here is a collection of first changes done to make igraphpp more useful for us. The PR is probably already bigger than it should be:(
Before you reject: The
uinique_ptr
in the generators is probably not what we want. I think I would go by-value, but shared pointer or whatever you prefer is fine for me. I have just usedsed
to get rid of theauto_ptr
deprecation warning.Here is some extra snippet that shows how the lib could be consumed when
igraph
is not installed in the system. The script will probably work on Linux and Mac only. I am not sure if it is of interest to you and should go in a file or wiki-page. We try to keep most dependencies as source to avoid students to use different versions.After that code a
igraphpp
target is available to be used withtarget_link_libraries
. The sample works, but is probably not considered best style. Hardliners would certainly argue that the dependencies should be installed.