Jussi Pakkanen
b2cdf528b8
Made TestHarness a context manager to ensure files get closed.
6 years ago
Jussi Pakkanen
49e9e0179c
Do not quote targetdep, Ninja fails if it contains double quotes.
6 years ago
Dylan Baker
d35d7ccad1
docs: Update libdir caveat
...
Fixes #5514
6 years ago
Dylan Baker
b972ee7125
environment: Fix detection of Microsoft cl.exe with non English locales
...
This uses the fix as suggested in issue 5491, which it also fixes.
Fixes #5491
6 years ago
Dylan Baker
1df2f5e9da
Merge pull request #5516 from scivision/fortran_module_find
...
BUGFIX: Fortran: use, module, submodule with inline comment
6 years ago
Michael Hirsch, Ph.D
927ce94d99
fortran depscan: ignore module procedure
6 years ago
Michael Hirsch, Ph.D
930d2457e1
add fortarn use inline comment test
6 years ago
Michael Hirsch, Ph.D
c214859304
add inline comment test for Fortran submodule
6 years ago
Michael Hirsch, Ph.D
f652950602
add inline comment test for Fortran include
6 years ago
Michael Hirsch, Ph.D
2a7ef98aff
BUGFIX syntax
6 years ago
Michael Hirsch, Ph.D
d3294b58c4
make test more stringent by building separate library
6 years ago
Michael Hirsch, Ph.D
f7465c0887
add fortran module inline comment test
6 years ago
Aleksey Gurtovoy
2106a6020c
Skip `196 install_mode` project test on Windows
6 years ago
Jussi Pakkanen
7d8bd4ffab
Merge pull request #5457 from mensinda/cmakeRefactor
...
CMake code refactor
6 years ago
andy5995
a1ea5fd16b
Quick_guide.md:add python-setuptools and wheel
...
per IRC discussion, the wheel package isn't required but reduces
harmless warnings.
[skip ci]
6 years ago
Jussi Pakkanen
9e09c85e6c
Handle thread flags when not using C at all. Closes #5497 .
6 years ago
Alan Coopersmith
a35844c08d
Canonicalize 'i86pc' return from platform.machine() for Solaris
...
i86pc may be either 32-bit or 64-bit, so use existing compiler checks
to determine if it should return 'x86' or 'x86_64'.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6 years ago
andy5995
ceb70a5c2e
Reference-manual.md:add missing equal sign in "both_libraries" section
...
[skip ci]
6 years ago
Jussi Pakkanen
9933b33c55
Updated msi creator to use 64 bit VS 2019. [skip ci]
6 years ago
Jussi Pakkanen
8dfc24dbf1
Update version number for new development.
6 years ago
Jussi Pakkanen
5ecab57667
Update things for new release.
6 years ago
Francisco Velázquez
288ef0e0e7
Tutorial.md: Improve English [skip ci]
6 years ago
Marvin Scholz
fa431dddbc
compilers: Add logging for symbol prefix test
...
Currently meson does not write the outcome of this test to the log
file which makes debugging wrong outcomes of this incredibly tedious.
6 years ago
Roman Shpuntov
bf1323a48c
Added tvOS cross file
6 years ago
Roman Shpuntov
3b17344b11
tvOS: added support AppleTVOS
6 years ago
Andrei Alexeyev
4b73f50222
dependencies/shaderc: fix exception caused by typo
6 years ago
Daniel Mensinger
b1cf0fd380
cmake: Move parsing the CMake trace into the CMake module
6 years ago
Daniel Mensinger
6083cfa6c8
cmake: Moved finding and running CMake out of dependency
6 years ago
Daniel Mensinger
44b9421071
cmake: Fix missing include_directories in some CMakeLists.txt
6 years ago
John Ericson
34c22522f3
Further deduplicate Interpreter native kwarg code
...
This ensures that invalid arguments properly cause errors, but doesn't
otherwise change semantics
6 years ago
Kurtis Rader
e06f0e6aaf
Solaris fixes
...
Fixes #5351
6 years ago
Dylan Baker
15ab1f64f9
modules/python: add a modules keyword argument
...
This mirrors the modules keyword argument that some dependencies (such
as qt and llvm) take. This allows an easier method to determine if
modules are installed.
6 years ago
sompen
3c461bcf4f
compilers: armclang supports only cross-compilation
...
Revert the change done to Armclang compiler class in PR-4010
6 years ago
sompen
201ecf52d1
compilers/cpp: Fix removal of name from Combo options for Armclang
6 years ago
Dan Kegel
b28e76f6bf
environment: better xcode 11 clang detection
...
Fixes #5474
6 years ago
Dylan Baker
0e23dbec81
docs: compiler objects are returned [skip ci]
...
Not a series problem, but annoys me that that it's in the builtin
section when it's a returned object.
6 years ago
Jussi Pakkanen
06df6e463f
Merge pull request #4010 from Ericson2314/purge-cross-conditional-preview
...
Purge much `is_cross` and `<things>_cross` without changing user interfaces---includes on #5263
6 years ago
Jussi Pakkanen
6b4b601eaf
Rewrap some doc lines. [skip ci]
6 years ago
John Ericson
6d6af46edc
Make test for identity
...
(cherry picked from commit ae6426cd8a
)
6 years ago
John Ericson
b9d7e98e59
Simplify `ConfigToolDependency` for_machine
...
`native` kwarg is already handled
6 years ago
John Ericson
8a09434cd4
remove `for_XXX` functions from mesonlib
...
All uses now use `env.machines.YYY.is_XXX` instead.
6 years ago
John Ericson
2ddb1af294
Simplify and dedup machine kwarg -> MachineChoice logic in the interpreter
6 years ago
John Ericson
3b54f38c84
Add some type annotations
...
Some things, like `method[...](...)` or `x: ... = ...` python 3.5
doesn't support, so I made a comment instead with the intention that it
can someday be made into a real annotation.
6 years ago
John Ericson
07777e15d4
Purge `is_cross` and friends without changing user interfaces
...
In most cases instead pass `for_machine`, the name of the relevant
machines (what compilers target, what targets run on, etc). This allows
us to use the cross code path in the native case, deduplicating the
code.
As one can see, environment got bigger as more information is kept
structured there, while ninjabackend got a smaller. Overall a few amount
of lines were added, but the hope is what's added is a lot simpler than
what's removed.
6 years ago
John Ericson
32e827dcdc
Use `env.machines.*` to avoid some `is_cross`
...
This is a small example of the `is_cross` removal the that abstraction
enables.
6 years ago
Daniel Mensinger
69005d6b1d
cmake: Minor fixes to handle some CMake specific behavior
...
Now, all source files are ignored that are not part of the
language of the target. This is also what CMake does.
Additionally it is now supported to build source files that
are generated inside the build directory.
6 years ago
filippocrocchini
431a9ea664
Moved RuntimeLibrary property to ItemDefinitionGroup/ClCompile
6 years ago
Dylan Baker
342767d6c7
docs: Add bzip2 to the Users page
6 years ago
Jussi Pakkanen
266b297515
Merge pull request #4969 from mensinda/cmakeSubProject
...
CMake subprojects
6 years ago
Jussi Pakkanen
7561926a70
Readme fixes. [skip ci]
6 years ago