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 and bsd in this project. This may be solved by using argp-standalone and string.h instead, but other solutions may be better/valid as well.
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.
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: https://github.com/AltraMayor/f3/issues/42#issuecomment-221746635A 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.