Closed maxGimeno closed 4 years ago
Is the patch sufficient to run ctest tests on Windows?
Now it is, at least on Blake.
The next step will be to add a testsuite on Windows.
It seems that is doable on Travis: https://docs.travis-ci.com/user/languages/python/#running-python-tests-on-multiple-operating-systems
In header only, the macro CGAL_DLL_EXPORT(IMPORT) is defined empty. In swig, the exports for the cpp targets use this macro, so no .lib is generated if we configured CGAL as header only. To fix that, I introduced two new macros: SWIG_CGAL_IMPORT and SWIG_CGAL_EXPORT, same as the original versions, but not empty in header only mode. This way the linking problems on windows are gone.