How to write CMakeLists.txt on my own?

cmake

(Sindhura C) #1

How to write CMakeLists.txt on my own? What are the rules and commands to be used? I am getting a few errors when I do it on my own.


(Jon Haitz Legarreta GorroƱo) #2

Hi @EE18D504_SINDHURA_C,
if you are using CMake as a tool without requiring ITK the question is more appropriate for the CMake mailing lists.

In any case, the CMake documentation is a valuable resource to learn CMake.

HTH


(Francois Budin) #3

For simple examples on how to write CMakeLists.txt files for ITK projects, you can refer to the ITK examples, for example this one or pretty much any other example in this git repository.