[cmake-developers] CMAKE_C_COMPILER_ARG# not documented?

Brad King brad.king at kitware.com
Thu Jul 19 14:07:49 EDT 2018


On 07/19/2018 11:58 AM, Robert Dailey wrote:
> I can't remember where I heard about these CMake variables, but in one
> of my toolchain files I do this:
> 
> set( CMAKE_C_COMPILER_ARG1 -m32 )
> set( CMAKE_CXX_COMPILER_ARG1 -m32 )

They are not documented because they are internal implementation
details.  Projects should not be setting them.

-Brad


More information about the cmake-developers mailing list