CMake encoding issue on Windows
I'm using CMake version 3.10.2
- Open the attached zip file
- Create a new folder called EncodingBugBuild and go to that directory
- Run the following to generate the cache using defaults (Visual Studio 2017 generator) cmake ..\EncodingBug
- Run the following to try to build. Note that build succeeds but the clean fails cmake --build . --clean-first
"C:\Users\jgoshi\source\repos\EncodingBugBuild\hello-cmake.sln" (Clean target) (1) -> "C:\Users\jgoshi\source\repos\EncodingBugBuild\PrA¼fung\hellotest.vcxproj.metaproj" (Clean target) (2) -> (Clean target) -> C:\Users\jgoshi\source\repos\EncodingBugBuild\PrA¼fung\hellotest.vcxproj.metaproj : error MSB3202: The project file " C:\Users\jgoshi\source\repos\EncodingBugBuild\PrA¼fung\hellotest.vcxproj" was not found.
0 Warning(s)
1 Error(s)
It appears that the generated solution/projects also had an issue because if you try to open the file in Visual Studio you'll get a project load issue with the following in the Output Window: "C:\Users\jgoshi\source\repos\EncodingBugBuild\Prüfung\hellotest.vcxproj : error : The project file could not be loaded. Could not find a part of the path 'C:\Users\jgoshi\source\repos\EncodingBugBuild\Prüfung\hellotest.vcxproj'. C:\Users\jgoshi\source\repos\EncodingBugBuild\Prüfung\hellotest.vcxprojEncodingBug.zip"