Skip to content

Who never used CMake and thought: "there could be a command that would do such a thing ....".

When you create a shared library project with a dependency, and I would like all other projects to use this header definition, but you can't do that without copying and pasting that definition across all projects one by one ...

You may want to add an include directory that is global (used by all other projects at the same time).

Something simple, like copying all third-party DLLs (which were not generated by the projects) is done as soon as you compile a new project.

...continue reading "CMake Custom Commands"