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

Use autotools as build system to find and try to link the libraries #402

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

caiohamamura
Copy link

In this pull request I added support for using autotools as building system, it helps to create a cross-platform way to link to libraries using pkg-config and internal macros to find the libraries and check if they are linking correctly.

I also simplified the process of generating the dependency tree and the makefile itself using only a root Makefile.am and configure.ac which will be compiled using autotools.

You can see a working example in colab https://colab.research.google.com/drive/1buOCDw86kZ0Reux8l3ZCRlTvF2JdIBuq. Basically the user only needs to do:

  1. Install the autotools
  2. Run autoreconf; automake --add-missing && autoreconf
  3. Run ./configure
  4. Run ./make

Then it will already compile everything. I tested both in windows MinGW and Ubuntu and it is working using the same base script. I could use help to test with other platforms to check if it will work. I will try to update the .github actions accordingly to check if it will work too.

@caiohamamura caiohamamura force-pushed the master branch 6 times, most recently from c67818c to 95c3e95 Compare June 27, 2024 20:28
@caiohamamura caiohamamura force-pushed the master branch 14 times, most recently from 10ae581 to 62c32b6 Compare July 1, 2024 17:18
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.

1 participant