[TASK] Make changes to allow the project to be build-able on Mac #109
Labels
C
Requires a C code change
help wanted
Extra attention is needed
research
Requires research to complete
up for grabs
This issue is available to take
Task Context
At the moment, the project is structured in a way to be compiled and built on a Linux machine. It would be nice to allow for the project to be easily build-able on Mac machines as well.
Acceptance Criteria
This completion of this task should allow for Macs to build this project without many complications. It'll be nice to have some code in place that checks the current operating system and changes the control flow of what libraries to pull from accordingly.
This will likely come in the form of a mixture between updating the cmake and src file. It will also be good to have a step by step instruction guide on how to build this project on Mac somewhere in the docs.
Two issues I've noticed on Macs include the inclusion of
argp
andbsd
in this project. This may be solved by using argp-standalone and string.h instead, but other solutions may be better/valid as well.Additional Context
This Github thread may be useful for how to get
argp-standalone
properly linked on Mac: AltraMayor/f3#42 (comment)A follow up issue to this later on would be to also add a Github action that builds the project on a Mac machine. However, this is not required for this current task.
Please read through the Contributing to the Project document before working on this project.
The text was updated successfully, but these errors were encountered: