On Thu, Jul 19, 2018 at 1:07 PM, Brad King <brad.k...@kitware.com> wrote: > 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.
I think this was recommended to me because `-m32` had to be the first argument to clang. I'll try to dig up the conversation, I forgot who recommended it and why. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers