[CMake] FW: Visual Studio 2017

2017-09-15 Thread Thompson, KT
Randy, Miroslav's recommendation should work. To expand on his response, here are the commands that I use with VS2017 to allow cmake to run from the command line: - Start cmd session (should also work via powershell) - To import VS17's command line environment run "C:\Program Files (x86)\Micros

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

Re: [CMake] Visual Studio 2017

2017-09-15 Thread Matějů Miroslav , Ing .
Hello Randy, From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Randy Heiland Sent: Friday, September 15, 2017 1:38 PM > Is there a "best way" to use cmake for VS17 (but same cakelists for Linux)? > And by "best", I mean with minimal effort on users. > To be more specific, on Windows, I *

[CMake] setting/removing compiler flag (-g) for a single project directory

2017-09-15 Thread René J . V . Bertin
Hi, Is it possible to set and/or remove compiler arguments on a project subdirectory that holds a tree with sources of a considerable number of build targets? An example to make this more concrete: I have a project that contains common_libs plugins/foo plugins/this_one I'm just interested in

[CMake] Visual Studio 2017

2017-09-15 Thread Randy Heiland
Hello, I've googled "site:cmake.org/pipermail/cmake visual studio 2017" looking for answers, but still confused, so thought I'd ask this list. Is there a "best way" to use cmake for VS17 (but same cakelists for Linux)? And by "best", I mean with minimal effort on users. To be more specific, on Win