This is like a million times nicer than doing the equivalent in CMake.