[CMake] Success with Compaq Visual Fortran - at least some!

Arjen Markus arjen.markus at wldelft.nl
Tue Oct 3 09:54:16 EDT 2006


Brad King wrote:

>Arjen Markus wrote:
>  
>
>>>  SET(CMAKE_WINDOWS_OBJECT_PATH 1)
>>>      
>>>
>>While it worked with my small test project (single file, single language),
>>it fails with PLplot: the setting gets in the way of the detailed tests on
>>the capacities of the C compiler. I get error messages about the incorrect
>>use of GET_FILENAME_COMPONENT that I have never seen before.
>>    
>>
>
>What is the actual error message?
>  
>
I did not have time this morning to include that in my message (two 
different
workplaces) but I will send it this evening.

>  
>
>>Is the setting cached for that particular compiler?
>>    
>>
>
>No, but it should be a per-language/per-compiler setting.  I don't have
>time to look at this but if you grep in the CMake/Source directory for
>CMAKE_WINDOWS_OBJECT_PATH you will see how it is used.  The code that
>uses it needs to decide how to format the path name for each object file
>when writing into the build.make file.  You may be able to patch this
>code to make a per-language decision (CMAKE_CXX_WINDOWS_OBJECT_PATH,
>CMAKE_Fortran_WINDOWS_OBJECT_PATH, ...).
>
>  
>
That is what I was hoping for ... Hm, a language-specific parameter? That
ought to do the trick.

Regards,

Arjen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061003/2838db1a/attachment.html


More information about the CMake mailing list