Commit Graph

7 Commits

Author SHA1 Message Date
Zihua Wu 3a4aa109b4 Fix a typo in the CUDA template
The original version will output something like `xtakes no arguments`, and the modified version will correctly output `x takes no arguments`.
2022-11-17 10:25:29 -08:00
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
Daniel Mensinger 1b19822a2d
typing: Fix templates 2020-09-08 20:15:58 +02:00
Daniel Mensinger 86394132e7 cuda: Fix meson template (fixes #6869) 2020-04-01 20:38:49 +03: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