[cmake-developers] CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE

Brad King brad.king at kitware.com
Tue Jul 29 09:54:59 EDT 2014


On 07/29/2014 03:31 AM, Nils Gladitz wrote:
> While looking for places to add my new CMAKE_${lang}_LINKER_SUPPORTS_PDB 
> I found the following in Windows-df.cmake:
> 
> set(CMAKE_${lang}_COMPILER_LINKER_OPTION_FLAG_EXECUTABLE "/link")
> 
> It looks suspicious because I don't think "lang" is actually set in that 
> context.
> 
> The only mention of "LINKER_OPTION_FLAG" seems to be 
> Source/cmNinjaNormalTargetGenerator.cxx

Running "git log -p -S_COMPILER_LINKER_OPTION_FLAG_" one can see
how that was added to help with Ninja+MSVC and then refactored
away later.  Please drop both locations.

Thanks,
-Brad




More information about the cmake-developers mailing list