[CMake] C# Language Detection Errors in 3.8.0-rc2

2017-03-16 Thread Wesley Smith
I'm trying to test out the C# features added to 3.8.0. A few things: + I couldn't find any documentation as to what the language name for CSHARP was in the enable_language documentation page + When I tried enable_language(CSHARP), I got some errors CMake Error at CMakeLists.txt:4 (enable_langua

[CMake] Building using Qt 5.8 and VS2017.

2017-03-16 Thread Andrew Maclean
At present the builds will fail. I have posted a report on the Qt forum: https://forum.qt.io/topic/77260/errors-when-building-cmake-and-vtk In the interim here is a temporary fix: The problem relates to the Qt macro: **Q_DECL_CONSTEXPR** If it is commented out in lines 593 to 714 of *qalgorith

Re: [CMake] Question regarding CUDA support in CMake 3.8.0-rc2

2017-03-16 Thread Nick Henderson
Thank you! Setting: set(CMAKE_CUDA_FLAGS "-arch compute_30 ${CMAKE_CUDA_FLAGS}") did the trick. Is there any documentation or example projects related to the new CUDA support? CUDA support is great to have and will simplify my build system! Thank you. -- View this message in context: http

Re: [CMake] Question regarding CUDA support in CMake 3.8.0-rc2

2017-03-16 Thread Robert Maynard
Hi, The purpose of the cmake_device_link.o is to resolve device side symbols when doing separable compilation. We do this device linking step for all CUDA enabled targets as it makes the internal CMake to logic significantly easier ( no need to propagate another property through the graph, etc ).

Re: [CMake] CHECK_INCLUDE_FILE_CXX with built from source compiler

2017-03-16 Thread Robert Maynard
This is a known issue that will be resolved in CMake 3.8 ( https://cmake.org/cmake/help/v3.8/policy/CMP0067.html#policy:CMP0067 ) On Wed, Mar 15, 2017 at 5:12 AM, houssen wrote: > For the record, the solution is (try_compile needs this option): > SET(CMAKE_REQUIRED_FLAGS "-std=c++11") > > Is ther