coapp / coapp.powershell

ClrPlus Signing
52 stars 43 forks source link

Character sets are another kind of useful pivots #25

Open yodantauber opened 11 years ago

yodantauber commented 11 years ago

Many C++ libraries have separate project configurations for ANSI/Unicode/Multibyte character sets. I think it would be useful to be able to create conditions based on the project character set out-of-the-box.

If I understand correctly, the _UNICODE and _MBCS defines are to be used to detect the character set.

fearthecowboy commented 11 years ago

I'm adding a CharacterSet pivot to the default template:

    CharacterSet { 
        key : "CharacterSet"; 
        choices: {  MultiByte, Unicode };
    };

with that, you can use Multibyte and Unicode in a pivot.

G

yodantauber commented 11 years ago

Works! Thanks :) (2.4.199.0)

CodeScrubber commented 10 years ago

I get the fiollowing error:

Write-NuGetPackage : Unmatched configuration choice 'Unicode

CodeScrubber commented 10 years ago

latest Beta 1.23.521.0

yodantauber commented 10 years ago

I believe you need the latest dev version: update-coapptools –Development -killallpowershells