[CMake] FW: cmake newbie questions
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Aug 4 17:51:18 EDT 2008
On Friday 01 August 2008, Phil Smith wrote:
> >Did you set the CMAKE_EXECUTABLE_SUFFIX appropriately for z/OS ?
>
> If by 'executable' you mean 'linked object', i.e., a .EXE if this was
> Windows, then I *think* I have: in zosport.cmake is:
>
> SET(CMAKE_LINKER "linkit.bat")
> SET(CMAKE_EXECUTABLE_SUFFIX "OUT")
>
> However, my linkit.bat starts with:
>
> @echo Running linkit.bat: %1 %2 %3 %4 %5 %6 %7 %8 %9 >> \temp\ll.txt
>
> and that file doesn't get created. So, it appears to me that there's no
> CMAKE_LINKER being called.
>
> Obviously I'm missing something(s) here...
Do you set CMAKE_CXX_LINK_EXECUTABLE and CMAKE_C_LINK_EXECUTABLE ?
Alex
More information about the CMake
mailing list