Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to extend cmake ?

CMake EXTEND
0
Posted

How to extend cmake ?

0

CMake can be extended using cmake scripts. CMake comes with a bunch of scripts, under UNIX they are by default installed to /usr/local/share/CMake/Modules/. The KDE libraries install also a set of cmake modules into share/apps/cmake/modules/. The files located there will be prefered over the ones in the system global cmake module path. For detecting software packages there are FindFOO.cmake files, see http://www.cmake.org/Wiki/CMake_HowToFindInstalledSoftwareexternal link for how they work. You can also write macros in cmake. They are powerful enough to do most things you will need to build software, but they are not intended to be used as a general purpose programming language.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.