[CMake] How to specify $1 for compiler?

Bill Hoffman bill.hoffman at kitware.com
Thu Feb 3 16:36:07 EST 2011


On 2/3/2011 2:42 PM, Michael Wild wrote:
> On 02/03/2011 08:40 PM, Jed Brown wrote:
>> On Thu, Feb 3, 2011 at 16:33, Michael Wild<themiwi at gmail.com>  wrote:
>>
>>> CMAKE_Fortran_COMPILER="/path/to/win32fe -f90 -with -options"
>>>
>>
>> Doesn't work because that whole thing becomes $0, which does not exist on
>> the file system.
>>
>
> That depends on the quoting you use.

You need to teach CMake about this compiler with Platform files.  I 
don't think you can get this new compiler to work without modifications 
to CMake.

-Bill


More information about the CMake mailing list