summaryrefslogtreecommitdiffstats
path: root/Tests/VSResource
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: Fix RC include directories regressionBrad King2014-10-133-1/+17
| | | | | | | | | | | | | | | | | Changes in commit b9aa5041 (cmLocalGenerator: Simplify GetIncludeFlags output formatting, 2014-03-04) caused Windows Resource Compiler include directories to be computed as relative paths in the Ninja generator. This breaks the cmcldeps handling of include paths. The reason for the regression is that several cmLocalGenerator::GetIncludeFlags callers treated the fourth "bool forResponseFile" argument as if it controlled whether include directories were a full path. It actually did control that by accident until the above commit. Add an explicit "bool forceFullPaths" argument to GetIncludeFlags and thread the value through ConvertToIncludeReference as needed. Update GetIncludeFlags call sites that really wanted to control the forResponseFile setting to be aware of the new argument. Extend the VSResource test to cover this case.
* Add support for Visual Studio project-specific globals (#8707)David Cole2011-07-291-1/+4
| | | | | | | | | | | 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.
* VSResource: Avoid windres /D with quoted spaces (#11695)David Cole2011-01-274-13/+109
| | | | Improve test: print out what's happening along the way.
* Avoid space in rc /D values for VS6 and Cygwin (#11695)David Cole2011-01-261-5/+10
| | | | | Change to the test only. Using a space in an rc /D value will not work at present with VS6 or Cygwin rc compilers.
* VS10: Escape double quote chars in defines for rc files (#11695)David Cole2011-01-262-3/+14
| | | | | | | | To get rc defines to work in the VS10 IDE requires \" when constructing PreprocessorDefinitions strings. This is different than defines for cl. Also, per-file rc defines were not being generated. Fix that, too.
* Disable incremental testing for this test, it crashes vs9 linker.Bill Hoffman2010-12-221-0/+3
| | | | | On windows 7 64 bit, the vs9 linker will crash when linking an application with a resource in it.
* Add flags to resource builds on vs 2010 with a test.Bill Hoffman2010-12-214-0/+20