Re: [CMake] Ninja+Fortran support for PGI compiler

2016-12-16 Thread Daniel Carrera
On 16 December 2016 at 17:18, Bill Hoffman wrote: > On 12/16/2016 8:38 AM, Brad King wrote: > >> Great! I'll integrate that for CMake 3.8. >> > Daniel, do you think you could setup a dashboard so this stays working? > https://cmake.org/testing/ > > -Bill > Ok. I'll try. I need some help with th

Re: [CMake] 'No known features for CXX compiler' warning with custom Clang

2016-12-16 Thread Robert Maynard
That is odd. Inside your build/CMakeFiles should be a file called feature_tests.cxx, and that file is how we determine what features the clang compiler supports. I would use that to determine why feature detection is failing, since currently it believes that none of the features listed in it are v

Re: [CMake] 'No known features for CXX compiler' warning with custom Clang

2016-12-16 Thread James Turner
> On 16 Dec 2016, at 15:30, Robert Maynard wrote: > > /CMakeFiles/3.7.0/CMakeCXXCompiler.cmake > > The important information being what CMAKE_CXX_COMPILER_ID and > CMAKE_CXX_COMPILER_VERSION are set too. Here’s what I have. I note the _FEATURES variables are all empty. set(CMAKE_CXX_COMPILER

Re: [CMake] Ninja+Fortran support for PGI compiler

2016-12-16 Thread Bill Hoffman
On 12/16/2016 8:38 AM, Brad King wrote: Great! I'll integrate that for CMake 3.8. Daniel, do you think you could setup a dashboard so this stays working? https://cmake.org/testing/ -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmak

Re: [CMake] 'No known features for CXX compiler' warning with custom Clang

2016-12-16 Thread Robert Maynard
I would start by looking at the how CMake identified the compiler. You can find this information inside: /CMakeFiles/3.7.0/CMakeCXXCompiler.cmake The important information being what CMAKE_CXX_COMPILER_ID and CMAKE_CXX_COMPILER_VERSION are set too. On Fri, Dec 16, 2016 at 6:55 AM, James Turner

[CMake] Help Utilizing Binary Caches

2016-12-16 Thread Dustyn Blasig
Hello Everyone, I'm fairly new to CMake, but have been learning as I try to migrate our components from Make to CMake. We utilize Git and Submodules for many of our components, along with the Atlassian tools like Bitbucket and Bamboo. While I'm migrating the components to CMake, I was asked to fi

Re: [CMake] Ninja+Fortran support for PGI compiler

2016-12-16 Thread Brad King
On 12/15/2016 09:10 PM, Daniel Carrera wrote: > set(CMAKE_Fortran_PREPROCESS_SOURCE > " -Mpreprocess-E > > ") > > I added that line to PGI-Fortran.cmake and it seems to work. Great! I'll integrate that for CMake 3.8. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-

[CMake] 'No known features for CXX compiler' warning with custom Clang

2016-12-16 Thread James Turner
Hi, I’m seeing this error from Cmake (3.7.0) when using a custom Clang (from homebrew) on Mac. Googling turns up hits from Cmake 3.0/3.1 when compiler features was being added. What can I do to trace down or debug this error when it occurs with a recent build of Clang? I am guessing there is s

[CMake] find_library returns the .dll on MinGW

2016-12-16 Thread David Demelier
Hello, I have the following files: D:/env/mingw64/lib/libzip.dll.a D:/env/mingw64/bin/libzip.dll The following environment: PATH=D:/env/mingw64/bin CMAKE_PREFIX_PATH=D:/env/mingw64 Using this: find_library( ZIP_LIBRARY NAMES zip libzip ) I got this in the CMakeCache.txt: //Path to a