Skip to content

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