Re: [CMake] SWIG CMAKE project not linked correctly

2017-09-15 Thread Bruce Jones
I'm not sure what is different between the CMake generated build and the manual build, but according to the swig community definitions in the cpp should be fine. I also couldn't find anything in the swig documentation to suggest otherwise. I did originally raise an issue on the swig github page: h

Re: [CMake] SWIG CMAKE project not linked correctly

2017-09-15 Thread Hendrik Sattler
Am 15. September 2017 15:23:42 MESZ schrieb Bruce Jones : >Hi, > >I have a relatively simple SWIG - CMAKE project that is not linked >correctly, source files can be downloaded here: >https://drive.google.com/open?id=0B4Y0idbHnikgTUlocmQtNDY2czQ > >The problem I have is if the template function F

[CMake] SWIG CMAKE project not linked correctly

2017-09-15 Thread Bruce Jones
Hi, I have a relatively simple SWIG - CMAKE project that is not linked correctly, source files can be downloaded here: https://drive.google.com/open?id=0B4Y0idbHnikgTUlocmQtNDY2czQ The problem I have is if the template function Foo is implemented in the header file, the project compiles and works