Nirbheek Chauhan
acdd4bd523
interpreter: Set declare_dependency version from the project version if missing
...
This simply sets the default version to be the same as the project version.
Useful for dependency version checks when using fallback subproject internal
dependencies.
9 years ago
Nirbheek Chauhan
d3e1fe6e1a
mesonlib: Fix typo in version_compare error
9 years ago
Nirbheek Chauhan
c33e7a68a1
Also reuse subproject-based fallback dependencies
...
This allows a project to use the same fallbacks dependency from the same
subproject multiple times in the same way that external dependencies can be.
Also change the format of the dependency identifier to ensure that fallback
checks with different dirname/varname aren't mistakenly reused. We now use
a tuple for this because the format is simpler to construct and it gives us the
same immutability guarantees as a string which is needed for using it as
a dictionary key.
9 years ago
Nirbheek Chauhan
f2256ba098
interpreter: Check if subproject version is defined before comparing
...
Without this Meson gives a cryptic error emitted from inside
mesonlib.version_compare()
9 years ago
Jussi Pakkanen
76d88259bd
Make sure outputs do not contain stray path segments.
9 years ago
Jussi Pakkanen
0b81f5b0ad
Merge pull request #569 from mesonbuild/cargs
...
Renamed compile&link args and made them accessible from get_option.
9 years ago
Jussi Pakkanen
cc055387cd
Can have multiple Qt resource files in a single target. Closes #572 .
9 years ago
Nirbheek Chauhan
065dcee7f3
interpreter: Switch to prev_subdir on non-existant subdir ( #571 )
9 years ago
Jussi Pakkanen
cff4e7d299
Can query version strings of dependencies.
9 years ago
Jussi Pakkanen
b5013a573a
Added semantic versioning comparison method to strings.
9 years ago
Jussi Pakkanen
9dace5fc5e
Always initialise final_command.
9 years ago
Jussi Pakkanen
c2082146ab
Merge branch 'nioncode-vs-generator'
9 years ago
Jussi Pakkanen
aac7f6ef1f
Since we only care about shebang line and sane ones use plain ASCII, use an encoding that can not fail. Closes #561 .
9 years ago
Jussi Pakkanen
d3d37c4296
Travis conf cleanup.
9 years ago
Jussi Pakkanen
d2d1f77866
Copy contents of current checkout into Docker container. This should make MR builds work properly.
9 years ago
Jussi Pakkanen
28b555d2c8
Whitespace fix to test new Docker setup.
9 years ago
Jussi Pakkanen
7694321276
Renamed compile&link args and made them accessible from get_option.
9 years ago
Jussi Pakkanen
4377f773e0
Can set global linker arguments. Closes #536 .
9 years ago
Jussi Pakkanen
1b78e354a6
Join windows-style destdir paths correctly. Closes #567 .
9 years ago
Jussi Pakkanen
ac152a2282
Every target must have a non-empty name.
9 years ago
Jussi Pakkanen
b414f52661
Merge nostdinc fix.
9 years ago
Jussi Pakkanen
c320b08ffb
Merge gettextarg branch.
9 years ago
Jussi Pakkanen
6f3a18a861
Build status link in readme.
9 years ago
Jussi Pakkanen
979982e4e8
Merge workdir sanity check.
9 years ago
Jussi Pakkanen
7e664fde8c
Use only one Docker run invocation since two seem to bee too much and break it.
9 years ago
Jussi Pakkanen
061c04db3f
Specify tag to use for building.
9 years ago
Jussi Pakkanen
7dc9327649
Cancel all pending test cases when interrupted by signals
9 years ago
Jussi Pakkanen
d08a23c001
Lint fix to get the build started.
9 years ago
Jussi Pakkanen
1000ad4898
Added experimental travis file.
9 years ago
Nicolas Schneider
a29d9c2c33
vs: fix generators that use indexed output replacements (like @OUTPUT0@)
9 years ago
Nicolas Schneider
60bca15e78
set working dir for sanity check compilation
9 years ago
Nirbheek Chauhan
eb181485d0
ninja: Fix cross-build when using the compiler's stdlib
...
Logic was reversed. We want to pass -nostdinc when there's no c_stdlib specified
in the cross-info file.
9 years ago
Jussi Pakkanen
3b3c05f6b1
Can pass extra args to xgettext. Closes #554 .
9 years ago
Nicolas Schneider
4a102fd445
cancel all pending test cases when interrupted by signals
9 years ago
Nirbheek Chauhan
7aa24c7d0a
compilers: Fix header stub change that broke has_function checks on Windows ( #559 )
...
Fixes https://github.com/mesonbuild/meson/issues/558
9 years ago
Jussi Pakkanen
df03f849a8
Merge pull request #542 from mesonbuild/ownstdlib
...
Build transparently with a custom standard library
9 years ago
Jussi Pakkanen
df90b26533
Merge pull request #548 from centricular/fix_has_exe_wrap
...
interpreter: Fix typo in has_exe_wrapper
9 years ago
Jussi Pakkanen
255208fd60
Merge pull request #540 from centricular/sanity_check_msvc_fix
...
Fix the MSVC sanity check to use the generic C/C++ sanity check
9 years ago
Jussi Pakkanen
8119207ee2
Merge pull request #547 from centricular/limits-h_needed_for_stubs
...
compilers: Always include limits.h to make the stub machinery work
9 years ago
Jussi Pakkanen
d8e08224da
Helper function to get the install dir of a gtkdoc module. Closes #551 .
9 years ago
Jussi Pakkanen
f3fa6c02a7
Merge pull request #556 from ebassi/gtkdoc-fixref
...
Support passing extra arguments to gtkdoc-fixxref
9 years ago
Emmanuele Bassi
245d6b0904
Add myself to the authors file
9 years ago
Jussi Pakkanen
babdb27570
Merge pull request #479 from mesonbuild/i18n
...
Moved gettext into i18n module.
9 years ago
Emmanuele Bassi
8998e44cd9
Support passing extra arguments to gtkdoc-fixxref
...
The extra arguments are typically used to specified the location of
installed API references that gtk-doc can use to create cross links
for symbols.
Fixes #555
9 years ago
Jussi Pakkanen
2a3a1ce8e0
Join() convenience method for strings. Closes #552 .
9 years ago
Nirbheek Chauhan
7aad3ff658
interpretor: Fix typo in has_exe_wrapper
...
The function wasn't working at all because of this
9 years ago
Nirbheek Chauhan
4578e11618
compilers: Always include limits.h to make the stub machinery work
...
limits.h is a requirement of the C language and is available with all compilers
and platforms from the last two decades. If limits.h is not available, the
compiler only supports an ancient dialect of C and lots of other things will
break too.
9 years ago
Jussi Pakkanen
1a0938cc25
Automagic scan-build support.
9 years ago
Nirbheek Chauhan
3776975203
compilers: Remove duplication in sanity check implementations
...
Consolidate the C/C++ compiler sanity checks since the test code is almost
exactly the same, and then use that for the MSVC C/C++ compilers as well. All
these sanity checks had diverged because of the code duplication.
This also fixes an intermittent sanity check failure that I was seeing with
MSVC.
Note: The ObjC/C++ compilers can also probably use the same implementation.
9 years ago
Jussi Pakkanen
afe7252476
Can specify a stdlib subproject that is used implicitly on all targets with said language.
9 years ago