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

Add support for autotools build system for Linux/macOS #27

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

Conversation

haxpor
Copy link

@haxpor haxpor commented Mar 31, 2019

This will make it more convenient for Linux/macOS users to have static & shared library as well as header files installed on users' system. Easier for development and integrate.

Tested only on Ubuntu 18.04. But it should be very same on macOS.

Note 2 things

  1. This doesn't take into account of supporting build on Windows yet as I see it's heavily based on visual studio already.
  2. 3 examples are not included in the build flow due to it needs more modifications as certain example uses thread, etc. Might tackle this in the future.

PS. related to #17 as along the process, I have to add a couple of casting in 2 lines to pass the complier error of ambiguous function call.

haxpor added 5 commits April 1, 2019 01:04
for crnlib

List of source / header files inclusion follows what laid out in
crnlib/Makefile as well as other compilation/linker flags as a few
source / header files are specifically for Windows system.

Note this changes doesn't include support for building crunch tool just
yet, but only for crnlib for both static and shared library.

Anyway, crnlib/Makefile is still left intact, just in case. But it's
safe to be removed in future.
Although not tested on macOS, but should be very same. Tested on Ubuntu
18.04.
@illwieckz
Copy link

First commit seems to have been merged in #25.

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.

2 participants