|
On 29.08.2019 22:38, fdk17 wrote:
The way I understand the documentation,
CMAKE_USER_MAKE_RULES_OVERRIDE applies for all generators, not
just the Makefile one. What you are apparently supposed to do is
create a file that sets all the "rule variables" as required (in
this case, CMAKE_C_COMPILE_OBJECT), and then include that file via
CMAKE_USER_MAKE_RULES_OVERRIDE. I'm not sure if these 'rule
variables' are documented anywhere - but you can look into
"<path where CMake is
installed>/share/cmake-<version>/Modules/Compiler" for
inspiration. Another good starting point would be
"<...>/share/cmake-<version>/Modules/CMakeCInformation.cmake". With kind regards,
Dr. Eric Dönges
MVTec Software
GmbH | Arnulfstr. 205 | 80634 Munich | Germany
Geschäftsführer:
Dr. Wolfgang Eckstein, Dr. Olaf Munkelt
|
-- 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
