Does pack_rebuild/1 allow the use of cmake for add-ons?
Not directly at the moment. AFAIK, it looks for
-
configure.acorconfigure.in
In this case it runs autoheader and autoconf to createconfigure -
configure
In this case it runs this -
Makefile
In this case it runsmake
So, you can add a simple configure script that calls cmake and all should work fine. Ideally there should be a FindSWI-Prolog.cmake that would define a CMake target that lets you link against SWI-Prolog. If you have experience writing such a thing, please contribute.
1 Like