summaryrefslogtreecommitdiff
path: root/mesonbuild/templates
Commit message (Collapse)AuthorAgeFilesLines
* Add vala templateAlberto Fanjul2021-11-163-3/+129
|
* editorconfig: add setting to trim trailing whitespaceEli Schwartz2021-08-151-1/+0
| | | | | | | and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
* fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger2021-06-2911-88/+100
|
* mass rewrite of string formatting to use f-strings everywhereEli Schwartz2021-03-041-3/+3
| | | | performed by running "pyupgrade --py36-plus" and committing the results
* typing: Fix templatesDaniel Mensinger2020-09-0813-24/+28
|
* cuda: Fix meson template (fixes #6869)Daniel Mensinger2020-04-011-2/+2
|
* Fix meson_jar_templateJan Alexander Steffens (heftig)2020-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was generating an extra comma. The Meson build system Version: 0.54.0 Source dir: /tmp/tmp34halxhe Build dir: /tmp/tmp34halxhe/build Build type: native build meson.build:6:15: ERROR: Expecting rparen got comma. 'Foo.java',, ^ For a block that started at 5,3 jar('tmp34halxhe', ^ A full log can be found at /tmp/tmp34halxhe/build/meson-logs/meson-log.txt Using "tmp34halxhe" (name of current directory) as project name. Using "tmp34halxhe" (project name) as name of executable to build. Detected source files: Foo.java Detected language: java Generated meson.build file: project('tmp34halxhe', 'java', version : '0.1', default_options : ['warning_level=3']) jar('tmp34halxhe', 'Foo.java',, main_class: tmp34halxhe, install : true) It was also missing quotes around the main class name. The Meson build system Version: 0.54.0 Source dir: /tmp/tmpjm5cg44a Build dir: /tmp/tmpjm5cg44a/build Build type: native build Project name: tmpjm5cg44a Project version: 0.1 Java compiler for the host machine: javac (unknown 1.8.0) Host machine cpu family: x86_64 Host machine cpu: x86_64 meson.build:5:0: ERROR: Unknown variable "tmpjm5cg44a". A full log can be found at /tmp/tmpjm5cg44a/build/meson-logs/meson-log.txt Using "tmpjm5cg44a" (name of current directory) as project name. Using "tmpjm5cg44a" (project name) as name of executable to build. Detected source files: Foo.java Detected language: java Generated meson.build file: project('tmpjm5cg44a', 'java', version : '0.1', default_options : ['warning_level=3']) jar('tmpjm5cg44a', 'Foo.java', main_class: tmpjm5cg44a, install : true)
* sample factory implementationMichael2020-03-1912-344/+475
|
* add logic for Java jar projectMichael2020-03-081-7/+29
|
* tests: Ensure that executable and library are named differentlyNirbheek Chauhan2020-02-229-9/+16
| | | | | | | | | | | | | 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.
* add new templatesMichael2020-02-025-0/+639
|
* Make D template work even if dub is not available.Jussi Pakkanen2019-12-311-7/+9
|
* Minit templates modularizationMichael Hirsch, Ph.D2019-11-027-0/+854