Somehow I am totally confused by how CMake works. Every time I think that I am getting closer to understand how CMake is meant to be written, it vanishes in the next example I r
Here I write a most simple but complete CMakeLists.txt files sample.
Source Code
After that, I offered document for the details.
If you have any questions, you can contact me and I'd like to explain it.