Project configuration speedup
Add an include guard for the -targets.cmake
file. While the file
itself takes care of not creating duplicate targets, even parsing this
possibly very large file takes non-negligible amount of time.
See the following for a discussion of include guards:
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/Performance-Tips#use-an-include-guard