[CMake] reusing CMAKELISTS.txt

llvm 999 llvm.999 at outlook.com
Mon Nov 6 14:36:45 EST 2017


I have a CMAKELIST.txt file which can be used for more than 1 subdirectory.


Is there a way to "reuse" this CMAKELISTS.txt file?


I have tried placing this file at a common folder and then to place a shortcut or softlink in the sub-directories.

But, this does not work. CMAKE does not seem to recognize the link.


Any help would be much appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20171106/ad4c1894/attachment.html>


More information about the CMake mailing list