I would like to know how we can compile à code written in Visual C++ 2008 by CMake. I have read a little bit about the topic and I found that we have to write a CMakeLists.txt file but till now I am unable to understand. Could you please help me in understanding how to compile using CMake and how to write the CMakeLists.txt. I will be so grateful if you can supply me with examples knowing that I have searched on GOOGLE and I didn't found a good explication of how to do.
Thank you in advance and sorry for this newbie question.