Re: [CMake] Approach to both shared and static lib (again, sorry)

2018-05-19 Thread Jacob Barrett
The Apache Geode Native [1] project needs to build both the shared, for releasing, and the static, unit testing and embedding in mix-mode .NET assembly. We tackled this by creating an INTERFACE library [2] that contains the common elements of both shared and static then having SHARED [3] and STATIC

Re: [CMake] Referencing nuget packages in csharp csproj files

2018-02-02 Thread Jacob Barrett
Joern, We too have been trying to find better integration between CMake and NuGet. What we have done is taken advantage of the packages.config file and the nuget.exe command line too. We have a custom target that executes `nuget restore` against the generated solution file. This by default places

Re: [CMake] Building Boost as an ExternalProject

2017-10-02 Thread Jacob Barrett
The Apache Geode Native project is building Boost as an external project. You may want to look at our setup for inspiration. It builds correction on Windows with VS, Solaris x86 and SPARC with Solaris Studio, Linux with GCC and OS X with Xcode.Right now we are purely header only so if you need some

[CMake] CTest Fail Fast

2016-10-07 Thread Jacob Barrett
Is there a way to execute CTest on a series of tests and have it fail fast? I would like CTest to immediately when any single test fails. Thanks, Jake -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers var