[CMake] Example of using Visual Studio for Nightly Dashboard

2016-08-17 Thread Michael Jackson
Can anyone point my to a project, including scripts etc, that shows how to use Visual Studio as the build mechanism for a Visual Fortran project? My Problem is the following: I am generating a Visual Studio with Intel Fortran compiler (v16.x) from CMake but when I load the resulting sln file i

Re: [CMake] Private dependencies of static libraries exported as targets

2016-08-17 Thread Ivan Shapovalov
On 2016-08-17 at 05:19 -0500, Nicholas Braden wrote: > Huh, this is weird. It seems to be an issue with the export/import > mechanism. If you make a project where everything is in the same > CMakeLists.txt and there is no install step, there is no include > directory pollution. See my attached proj

Re: [CMake] dependencies between external projects (not DEPENDS)

2016-08-17 Thread Nicholas Braden
Usually there would be variables like A_ROOT which allow the FindA.cmake module being used by B to correctly find everything. If there isn't, you'd have to write your own FindA.cmake module in either case. If you can't modify B, you could use the patch step of the external project to replace the br

Re: [CMake] [cmake-developers] Need ideas/opinions on third party library management

2016-08-17 Thread Ruslan Baratov via CMake
On 17-Aug-16 04:29, Florent Castelli wrote: The Boost source download is cached outside of the build directory in a unique folder. So it’s effectively only done once for all platforms and then reused. This is true for local machines and for custom build servers like your personal Jenkins. For

Re: [CMake] [cmake-developers] Need ideas/opinions on third party library management

2016-08-17 Thread Ruslan Baratov via CMake
On 17-Aug-16 08:36, Elizabeth A. Fischer wrote: > > I don't think CMake is the best place to do it, > Can you provide any details? I personally think that CMake is a > natural and the only place where it should be done. The most important reason here is because there are combinatorially many ver

Re: [CMake] Private dependencies of static libraries exported as targets

2016-08-17 Thread Ivan Shapovalov
On 2016-08-16 at 20:14 -0500, Nicholas Braden wrote: > Ah, I misunderstood what you were asking about. It would be pretty > weird if CMake didn't know that static libraries always need all > their > dependencies linked regardless of privacy, but I agree it should at > least be mentioned somewhere.