Creating a directory in CMake - Stack Overflow
https://stackoverflow.com/questions/370211512.09.2010 · In the add_custom_command() command (which adds a custom build rule to the generated build system), and the add_custom_target() command (which adds a target with no output so it will always be built), you specify the commands to execute at build time. Create a directory by executing the command ${CMAKE_COMMAND} -E make_directory. For example ...
CMake Tutorial | CMake
https://cmake.org/cmaDownload. The CMake Tutorial is now available as the CMake Tutorial Guide in the official documentation. Kitware also provides online and onsite CMake trainings. You can subscribe or request information by contacting us.