I am trying to build jansson C library using premake.
The designers of the library require us to:
the above steps generates jansson_config.h that is needed for the build.
What I want to do is:
What happens when I do that is that the build fails saying that jansson_config.h is missing.
How would I be able to achieve what I want?
Building with other build systems than those directly supported by Jansson is documented here: https://jansson.readthedocs.org/en/2.7/gettingstarted.html#other-systems
Basically, you just take src/jansson_config.h.in
, copy it to src/jansson_config.h
and edit it, replacing all @var@
placeholders to match your target system.