Before this change, SWIG would pick up MMCore/MMDevice headers from an mmCoreAndDevices directory outside of the pymmcore directory, if present. This is because SWIG's search path for %include contains the current directory before any directories given by -I flags (so %include "../mmCoreAndDevices/..." was problematic).
Includes by the compiler (#include) may not have this problem but let's use the same method.
Before this change, SWIG would pick up MMCore/MMDevice headers from an mmCoreAndDevices directory outside of the pymmcore directory, if present. This is because SWIG's search path for
%include
contains the current directory before any directories given by-I
flags (so%include "../mmCoreAndDevices/..."
was problematic).Includes by the compiler (
#include
) may not have this problem but let's use the same method.