1 | initial version |
OK, I got it. As a C# developer, I was creating the new files directly in VS (right click, add...). But as the build tree is generated from Cmake, this approcah is not valid.
Now that I create the new source files in the source directory and no more in the compilation directory everything is fine.