Let us summarize what we have achieved in this chapter and what we learned.
Summary and common pitfalls when converting projects to CMake
Summary of code changes
In this chapter, we have discussed how to port a project to CMake. We have considered the Vim project as an example and added the following files:
.
├── CMakeLists.txt
└── src
├── autogenerate.cmake
├── CMakeLists.txt
├── config.h.cmake.in
├── libvterm
│ └── CMakeLists.txt
├── pathdef.c.in
└── testdir
├── CMakeLists.txt
...