SWI-Prolog / packages-cpp

The SWI-Prolog C++ interface
29 stars 13 forks source link

SWI-cpp2.h should include SWI-cpp2.cpp by default #62

Closed kamahen closed 10 months ago

kamahen commented 10 months ago

See issue #60 -- users are confused by the need to #include <SWI-cpp2.cpp> as well as SWI-cpp2.h, so make the default to include both of them. Also should have a way of specifying that SWI-cpp2.cpp isn't included, to allow separate compilation (e.g., into a .a file).

kamahen commented 10 months ago

https://github.com/SWI-Prolog/packages-cpp/pull/63