summaryrefslogtreecommitdiff
path: root/tools/cmake2meson.py
AgeCommit message (Collapse)Author
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
2023-10-04Remove type comments in run_project_tests.pyTristan Partin
2021-06-29fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz
performed by running "pyupgrade --py36-plus" and committing the results
2020-09-08typing: fully annotate toolsDaniel Mensinger
2020-02-23cmake2meson fix if nesting (#6676)Yann Dirson
2020-01-08types: import typing as T (fixes #6333)Daniel Mensinger
2019-10-19cmake2meson: improve exceptions, add type annotations, use argparseMichael Hirsch, Ph.D
2019-01-16allow nested if loopMichael Hirsch, Ph.D
close paren
2019-01-06modernize library default syntax, be like CMake static defaultMichael Hirsch, Ph.D
2017-09-14cmake2meson: convert varexp to lowercaseGeorg Müller
since variable names in 'set' statements are converted to lowercase, the variable itself should be converted to lower-case too when used.
2017-09-14cmake2meson: strip comments from statementsGeorg Müller
Without this change, the following correct cmake will cause an error: statement( arg1 # arg2 arg3 )
2017-09-14cmake2meson: convert statements to lower caseGeorg Müller
cmake does not distinguish between upper and lower case, so convert it to lower case for the later comparisons.
2017-07-16Removed unnecessary pass statements.Jussi Pakkanen
2017-01-18cleanup: Unbound local variableMike Sinkovsky
2017-01-18cleanup: Remove redundant parenthesesMike Sinkovsky
2017-01-18cleanup: Redundant character escapeMike Sinkovsky
2017-01-11style: [E1**] IndentationMike Sinkovsky
2017-01-11style: [E301] expected 1 blank line, found 0Mike Sinkovsky
2017-01-01style: fix E703 violationsIgor Gnatenko
E703: statement ends with a semicolon Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E265 violationsIgor Gnatenko
E265: block comment should start with '# ' Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-01-01style: fix E226 violationsIgor Gnatenko
E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-31Fix space before :.Jussi Pakkanen
2016-10-19Allow id to contain a pipe "|"Gautier Pelloux-Prayer
For instance in [color](https://github.com/bagage/color/blob/master/tests/CMakeLists.txt#L26) project tests contains a `|` character.
2016-10-18cmake2meson.py: Fix missing quote around options type/nameGautier Pelloux-Prayer
2016-08-30Use context manager in scripts.Elliott Sales de Andrade
2015-09-04Moved new ac converter from wrap repo and made shebang line use env. Closes ↵Jussi Pakkanen
#256.
2014-06-04Convert test declarations.Jussi Pakkanen
2014-06-04Convert library targets.Jussi Pakkanen
2014-06-04Convert executable command.Jussi Pakkanen
2014-06-04Convert build options.Jussi Pakkanen
2014-06-04More convertisizising.Jussi Pakkanen
2014-06-04Working if else indents.Jussi Pakkanen
2014-06-04Convert function arguments.Jussi Pakkanen
2014-06-02Convert a few more functions, can generate a simple skeleton.Jussi Pakkanen
2014-06-02Convert some function types.Jussi Pakkanen
2014-06-02Comments are converted. Yay!Jussi Pakkanen
2014-06-01Converter is a class.Jussi Pakkanen
2014-06-01Store whole token.Jussi Pakkanen
2014-06-01Some moar fixing.Jussi Pakkanen
2014-06-01Work further into LLVM parsing.Jussi Pakkanen
2014-05-31Better error message.Jussi Pakkanen
2014-05-31Count line and column numbers.Jussi Pakkanen
2014-05-31Regexp fine tuning, can not parse LLVM yet.Jussi Pakkanen
2014-05-31Recurse to subdirectories.Jussi Pakkanen
2014-05-25Can parse a basic CMake list.Jussi Pakkanen
2014-05-25Can now lex all of libcolumbus.Jussi Pakkanen
2014-05-25Parse some code.Jussi Pakkanen
2014-05-25Experiment on writing a CMake converter.Jussi Pakkanen