Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Mensinger 1b19822a2d
typing: Fix templates 2020-09-08 20:15:58 +02:00
Michael 02e7316d31 sample factory implementation 2020-03-19 22:44:59 +02:00
Nirbheek Chauhan 7f1d78f304 tests: Ensure that executable and library are named differently
On Windows, the basename is used to determine the name of the PDB
file. So for a project called myproject, we will create myproject.dll
and myproject.exe, both of which will have myproject.pdb. This is
a file collision. Instead, append `_test`, similar to the C# template.

Fixes AllPlatformTest.test_templates on MSVC. This became a hard error
when we started listing PDBs in the implicit outputs list of ninja
targets.

Do the same for a test that was making the same mistake.
2020-02-22 06:49:34 +05:30
Michael 683cf46f32 add new templates 2020-02-02 17:16:03 -08:00