Re: [CMake] How to get RPATH option (-Wl, -rpath, /path/to/local/lib) ?

2018-02-01 Thread Kris Thielemans
Hi There a wiki page covering this https://cmake.org/Wiki/CMake_RPATH_handling I find it a bit confusing (and the example code for the “full RPATH” option seems to set CMAKE_INSTALL_RPATH twice), but it should help. It might be outdated for OSX as El Capitan introduced extra security req

Re: [CMake] announce: free VTK, ParaView and CMake training at Kitware New York next month

2018-02-01 Thread Alan W. Irwin
On 2018-02-01 15:16-0500 David E DeMarle wrote: Kitware is going to present three free, one day training courses next month at our Albany NY headquarters. The outline for each day follows. For those of who would prefer not to make such a long trip but who are extremely interested in those trai

[CMake] Adding a reference to Windows Media Player library using CMake + CSharp support

2018-02-01 Thread Cyril Boucher
Hi all, I am trying to use CMake and the CSharp support for a small project of mine but I cannot seem to find a way to add a reference to the Windows Media Player library. One of the reason for that is that I need to link my project to wmp.dll which then needs to generate Interop.WMPLib.dll and a

[CMake] announce: free VTK, ParaView and CMake training at Kitware New York next month

2018-02-01 Thread David E DeMarle
Hi folks, Kitware is going to present three free, one day training courses next month at our Albany NY headquarters. The outline for each day follows. March 13'th "Introductory and applied VTK" morning: Dave DeMarle / Lisa Avila - "A hands on introduction to VTK" afternoon: Aashish Chaudhary

Re: [CMake] CMake + mdvc + --build + jenkins

2018-02-01 Thread J. Caleb Wherry
(forgot to reply all) I have a pretty similar setup but do not use the cmake --build since I selectively build projects based the jenkins build type (CI, nightly, research ,etc). I'll see if I can kick off a test and use the --build option, I've thought about doing that in the past but never test

[CMake] CMake + mdvc + --build + jenkins

2018-02-01 Thread Michael Ellery
I know this is a long-shot, but I’m wondering if anyone has encountered this scenario: CMake (3.10) being used to generate a project for Visual Studio 15 (the current latest) the build is running on a windows machine under a jenkins slave process The generation step runs fine I then run cmake

[CMake] How to add files to Visual Studio 'Utility' project

2018-02-01 Thread J. Caleb Wherry
Hello! I am having trouble with a generated VS project that I hope is either a bug or has an easy fix... When using UseJava, the add_jar function, and Visual Studio 2015, a VS 'Utility' project is created. I then want to add additional non-compiled files to this project so I try to use target_sou

Re: [CMake] How to get RPATH option (-Wl, -rpath, /path/to/local/lib) ?

2018-02-01 Thread Franck Houssen
OK, so I believe I just need to write "-Wl,rpath" in my templates of pc/cmake files !... Franck - Mail original - > De: "Franck Houssen" > À: "CMake Mail List" > Envoyé: Mercredi 31 Janvier 2018 10:39:51 > Objet: [CMake] How to get RPATH option (-Wl,-rpath,/path/to/local/lib) ? > H