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
Daniel Mensinger
9a9ea1434a
cmake: Fix cygwin failures
6 years ago
Daniel Mensinger
b1bef5ae0d
cmake: removed legacy kwargs from interpreter dict
6 years ago
Daniel Mensinger
4abd2e7103
cmake: doc: fixed typos
6 years ago
Daniel Mensinger
438ee6b01d
cmake: updated docs
6 years ago
Daniel Mensinger
2f998cd8d5
cmake: Updated test cases
6 years ago
Daniel Mensinger
e02c101575
cmake: moved subprojects into the CMake module
6 years ago
Daniel Mensinger
af6448ced5
cmake: Make flake8 happy
6 years ago
Daniel Mensinger
703054903b
cmake: disable the CMake tests for msvc2015
6 years ago
Daniel Mensinger
35936316eb
cmake: rebase fixes
6 years ago
Daniel Mensinger
9b22147dcb
cmake: set the linker for clang-cl for CMake
6 years ago
Daniel Mensinger
29a26c9dbd
cmake: blacklist some `cl` compiler and linker flags
6 years ago
Daniel Mensinger
1f3a57598e
cmake: general windows and old CMake fixes
6 years ago
Daniel Mensinger
5c603a900b
cmake: Some minor style changes
6 years ago
Daniel Mensinger
493e505d58
cmake: better logging
6 years ago
Daniel Mensinger
cb57847c30
cmake: fixed installed_files.txt
6 years ago
Daniel Mensinger
7c4f46b65c
cmake: Fixed test cases for windows
6 years ago
Daniel Mensinger
4279255401
cmake: use newer CMake version for cygwin
6 years ago
Daniel Mensinger
6cb904de7b
cmake: Added docs
6 years ago
Daniel Mensinger
3d7c50d109
cmake: Added option for additional CMake args
6 years ago
Daniel Mensinger
d114d8446e
cmake: Minor fixes
6 years ago
Daniel Mensinger
1041c71eb0
cmake: support object libraries
6 years ago
Daniel Mensinger
f73b36c2f3
cmake: Added test for configure_file
6 years ago
Daniel Mensinger
d9481f2359
cmake: Added Code generation test
6 years ago
Daniel Mensinger
316f4f4948
cmake: Always add the CMake build dir to the include dirs
6 years ago
Daniel Mensinger
bf81aac465
cmake: Added project tests
6 years ago
Daniel Mensinger
2b44b4be9f
cmake: Fixed install prefix
6 years ago
Daniel Mensinger
be6a9191e1
cmake: First working version
6 years ago
Daniel Mensinger
e55236bde4
cmake: basic AST generation
6 years ago
Daniel Mensinger
5089eb356b
cmake: extract the codemodel
6 years ago
Daniel Mensinger
2039cb708b
cmake: get CMake inputs
6 years ago
Daniel Mensinger
9aae603d1b
cmake: Handle a few more stub messages
6 years ago
Daniel Mensinger
ef18afc48b
cmake: configure works
6 years ago
Daniel Mensinger
8d3bd6eea8
cmake: Server handshake
6 years ago
Daniel Mensinger
e1863719cb
cmake: Made CMake executable finding availiable for other functions
6 years ago
Daniel Mensinger
a9a3b3ffe6
Added method kwarg to subproject
6 years ago
Jussi Pakkanen
09a722c4bd
Merge pull request #5263 from Ericson2314/per-machine-cli-args
...
Per machine 'build_' and '' options
6 years ago
Christoph Reiter
27c5d9f16f
gnome.yelp(): Fix media symlink fallback path
...
When the media file for a specific language doesn't exist we try to symlink
it to the C one. If symlinking fails we need to fall back to copying the C
one like in the non-symlink case.
The fallback code path didn't set the source so this always failed.
Also check if the C fallback exists before trying to symlink/copy, otherwise
we crash if C isn't the first lang we try.
6 years ago
Jussi Pakkanen
82e36a6bfe
Add tests for std usage. Closes #5097 .
...
(cherry picked from commit 27ae70dfaa
)
6 years ago
John Ericson
af2d7af998
Per machine do 'build.' and '' option prefixes
...
See the docs/ changes for details.
6 years ago
John Ericson
126100b166
mlog.debug the meson-set PKG_CONFIG_PATH
...
This is very useful for debugging!
6 years ago
Dylan Baker
5065db86f2
compilers/c: Fix removal of name from Combo options for ICL
6 years ago
Jussi Pakkanen
906aa4cb54
Merge pull request #5436 from dcbaker/cmake-lexer-spaces-in-args
...
Cmake lexer spaces in args
6 years ago
Daniel Mensinger
94c6da33a7
rewriter: Fix that default_options would not set the correct id
...
Currently default_options uses "" for the kwarks id, however this
is incorect and it must be "/". Additionally, this error won't be
ignored in the future with "--skip" (this is why the tests were
passing and this wasn't detected earlier).
6 years ago
Marcel Hollerbach
5465fc5e28
ninjabackend: refactor _generate_single_compile
...
when we are generating the include directories for a build target, then
we are iterating over all include directories, check if they are . or ..
and if not, generate a compile args object for it. However, the join
calls and the generation of the compile object is quite expensive, if we
cache the results of this, then we can _generate_single_compile from 60%
to roughly 50%.
6 years ago