1.

Can Cmake Set The Debugging/working Directory Property In Visual Studio Projects?

Answer»

Not directly. The VALUE of this property is not stored in the project files. It is stored in extra files created by the IDE when a solution is loaded (VS .NET 2003 uses a hidden .SUO file next to the .sln solution file). The format of these files is not known to CMake and cannot be generated. In some versions of VS the files are binary and not human readable. However, for Visual Studio versions at least 2005 and newer, Ryan Pavlik maintains CMake modules that can create these files: MAIN SCRIPT, also requires this directory.

Not directly. The value of this property is not stored in the project files. It is stored in extra files created by the IDE when a solution is loaded (VS .NET 2003 uses a hidden .suo file next to the .sln solution file). The format of these files is not known to CMake and cannot be generated. In some versions of VS the files are binary and not human readable. However, for Visual Studio versions at least 2005 and newer, Ryan Pavlik maintains CMake modules that can create these files: main script, also requires this directory.



Discussion

No Comment Found