mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 06:30:20 -06:00
Add support for Visual Studio project-specific globals (#8707)
Thanks to Pau Garcia i Quiles for the inspiration for the patch. I've tweaked it a bit compared to what's in the bug tracker: this commit does not allow empty global variable names. I also added usage of the new feature to an existing test. Although it has no effect on the resulting Visual Studio projects, you can verify that the VSResource test produces a non-empty globals section in the generated .vcproj(x) files.
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
||||
void WriteProjectFiles();
|
||||
void WriteVCProjHeader(std::ostream& fout, const char *libName,
|
||||
cmTarget &tgt, std::vector<cmSourceGroup> &sgs);
|
||||
void WriteVCProjFooter(std::ostream& fout);
|
||||
void WriteVCProjFooter(std::ostream& fout, cmTarget &target);
|
||||
void CreateSingleVCProj(const char *lname, cmTarget &tgt);
|
||||
void WriteVCProjFile(std::ostream& fout, const char *libName,
|
||||
cmTarget &tgt);
|
||||
|
||||
Reference in New Issue
Block a user