[cmake-developers] Keil ARMCC toolchain file seems broken
Hi, I'm trying to use the existing armcc toolchain module, but I get a strange behaviour. when using it with cmak GUI , at the configure time I get : The C compiler identification is GNU 4.9.2 The CXX compiler identification is GNU 4.9.2 Check for working C compiler: D:/Dev/Dev-Cpp/MinGW64/bin/gcc.exe Check for working C compiler: D:/Dev/Dev-Cpp/MinGW64/bin/gcc.exe -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Detecting C compile features Detecting C compile features - done Check for working CXX compiler: D:/Dev/Dev-Cpp/MinGW64/bin/c++.exe Check for working CXX compiler: D:/Dev/Dev-Cpp/MinGW64/bin/c++.exe -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done Configuring done Which is completely wrong , since Cmake detects and uses MinGW Oo -- 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: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] CMake alternative language
Maybe just implement the python syntax (or a t lease a subset) in the cmake core , so no need extern dep and provide a clean/defined interface to be able to call complex external script is whatever languages. 2016-01-13 14:27 GMT+01:00 Saša Janiška: > On Sri, 2016-01-13 at 13:14 +, Charles Huet wrote: > > > I don't think this is a dumb question, actually this is part of the > > problem I think would be resolved whit a new language. > > > > The barrier of entry to using CMake is too high in my opinion, and I > > think using an existing language would lower it *a lot*. > > Personally I'm determinant to use CMake, mostly due to its maturity and > CPack's features, but recently stumbled upon Meson http://mesonbuild.com/ > ) > build system whose goal is "to be both extremely fast, and, even more > importantly, as user friendly as possible."...it also uses Ninja instead > of Make as backend. > > Otoh, I believe that main problem with CMake is lack of quality docs - > even > Mastering CMake book has constantly very bad reviews. > > Sincerely, > Gour > > > -- > One who sees inaction in action, and action in inaction, > is intelligent among men, and he is in the transcendental position, > although engaged in all sorts of activities. > > > > > -- > > 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: > http://public.kitware.com/mailman/listinfo/cmake-developers > -- 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: http://public.kitware.com/mailman/listinfo/cmake-developers
[CMake] Get target name from command line for IF statement
Hi, I have a cmake file with 2 targets defined inside. For each target I have to specify a different scatter file for my linker so I want to use : if (TARGET target_1) SET (LINKER_SCATTER_FILE file_1) else () SET (LINKER_SCATTER_FILE file_2) endif () add_executable(target_1 ${srcs_target_1}) add_executable(target_2 ${srcs_target_2}) But if I'm calling cmake from my IDE to build my target using the --target command line option does it set the TARGET variable ? If not the case how I can link the targer name from the command line to my IF statement ? Regards, Yann. -- 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: http://public.kitware.com/mailman/listinfo/cmake
[cmake-developers] Keil Armcc support
Hi, Is theresomme support planned in a near future for the Keil / Armcc toolchain ? Regards, Yann Suisini -- 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: http://public.kitware.com/mailman/listinfo/cmake-developers