Re: [cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-02-05 Thread Nicolas Bock
Thanks! Let me know how I can help with testing. Nick On Feb 5, 2015 9:23 AM, "Brad King" wrote: > On 02/04/2015 08:21 AM, Nicolas Bock wrote: > > I have modified the patch and added error messages for NAG and PGI > > compilers. I have also fixed the FAIL_REGEX in the module itself to > > read "

Re: [cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-02-05 Thread Brad King
On 02/04/2015 08:21 AM, Nicolas Bock wrote: > I have modified the patch and added error messages for NAG and PGI > compilers. I have also fixed the FAIL_REGEX in the module itself to > read "not for Fortran" instead of "... for C". Thanks. I've drafted commits to add the module and a test case:

Re: [cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-02-04 Thread Nicolas Bock
I have modified the patch and added error messages for NAG and PGI compilers. I have also fixed the FAIL_REGEX in the module itself to read "not for Fortran" instead of "... for C". >From 452602f4b125eb89c114d9e1b3db6ee78b04d0b1 Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Mon, 2 Feb 2015 17

Re: [cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-02-03 Thread Nicolas Bock
On Tue, Feb 3, 2015 at 1:18 PM, Brad King wrote: > On 02/03/2015 07:46 AM, Nicolas Bock wrote: >> please find attached a patch based on >> 460f7bcb7d11e905ee025c9d9cc9629d597fa91b. > > Thanks. Was this based on CheckCCompilerFlag from that version too? > Yes. > On 02/01/2015 04:18 AM, Rolf Eike

Re: [cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-02-03 Thread Brad King
On 02/03/2015 07:46 AM, Nicolas Bock wrote: > please find attached a patch based on > 460f7bcb7d11e905ee025c9d9cc9629d597fa91b. Thanks. Was this based on CheckCCompilerFlag from that version too? On 02/01/2015 04:18 AM, Rolf Eike Beer wrote: > Also I don't know if it makes sense to check for ce

Re: [cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-02-03 Thread Nicolas Bock
Hi Eike, please find attached a patch based on 460f7bcb7d11e905ee025c9d9cc9629d597fa91b. Thanks nick >From a843ca01581ab85a07c36700b2474c722e9917fb Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Mon, 2 Feb 2015 17:07:04 -0700 Subject: [PATCH] New Module: CheckFortranCompilerFlags.cmake Th

Re: [cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-02-01 Thread Rolf Eike Beer
Nicolas Bock wrote: > Hi, > > please find attached for potential inclusion into CMake a new Module > that tests Fortran compiler flags. It is a modified copy of the > existing CheckCCompilerFlag.cmake module. Hi Nicolas, which version did you base this on? It looks like this is a version older t

[cmake-developers] New module: CheckFortranCompilerFlag.cmake

2015-01-30 Thread Nicolas Bock
Hi, please find attached for potential inclusion into CMake a new Module that tests Fortran compiler flags. It is a modified copy of the existing CheckCCompilerFlag.cmake module. Thanks, nick # - Check whether the Fortran compiler supports a given flag. # CHECK_Fortran_COMPILER_FLAG( ) # - th