Jussi Pakkanen
beef7cb291
Added functionality to pick the first supported argument from a list. Closes #583 .
9 years ago
Jussi Pakkanen
d8d989d9b8
Add a has_arg method to compiler to check whether it supports a given argument.
9 years ago
Jussi Pakkanen
50609054ec
Bump version number for new development.
9 years ago
Jussi Pakkanen
3d1c1b84e2
Update version number for release.
9 years ago
Jussi Pakkanen
de73d85ad8
Removed vs nomod test because it fails at compile time but the framework needs it to fail at configure time.
9 years ago
Jussi Pakkanen
f17b76e8de
Put emergency wraptool in source zip. Just in case.
9 years ago
Jussi Pakkanen
205037047f
Try to delete target files before installing. Closes #578 .
9 years ago
Jussi Pakkanen
bcec44b93b
Merge pull request #573 from centricular/dependency-versions
...
Several fixes to how versioned dependencies are handled + tests
9 years ago
Jussi Pakkanen
0bc0056064
Merge pull request #577 from nioncode/vs2015
...
Implement vs2015 backend
9 years ago
Jussi Pakkanen
177e286b3c
Can generate config headers without an input file. Closes #549 .
9 years ago
Nirbheek Chauhan
fdc95c2ea4
Add various tests for versioned dependency checking
...
Both pkg-config and subproject-based dependencies
Linux-like because we need zlib for the tests to work
9 years ago
Jussi Pakkanen
0482635c12
Handle case of install_subdirring a subdir.
9 years ago
Nicolas Schneider
fba749fcb7
extract vs2015backend into own file
9 years ago
Nicolas Schneider
d34d85b0f5
vs2015: fix object generators
9 years ago
Nicolas Schneider
3bedca0257
add vs2015 backend
9 years ago
Jussi Pakkanen
8e734a8c9f
Set Gnu fortran type based on platform.
9 years ago
Jussi Pakkanen
37c5d45d07
Print all of the things when CI fails.
9 years ago
Jussi Pakkanen
432f515bc0
Use ninja backend on OSX CI builds.
9 years ago
Jussi Pakkanen
bda06cee12
Added OSX support for Travis.
9 years ago
Nirbheek Chauhan
71f18226d1
Remove unmaintained and broken PyQt5 GUI ( #574 )
9 years ago
Nirbheek Chauhan
9f4d963bd9
compilers: Add the buildtype args for checks that perform linking ( #543 )
...
This is required for checking for compiler checks that involve linking
to a static library with MSVC. Without this, MSVC errors out since no
CRT is specified.
9 years ago
Jussi Pakkanen
beb6827413
Installing subdirs now merges with existing files in the target dir.
9 years ago
Jussi Pakkanen
144565fabf
Added method to get current project name.
9 years ago
Jussi Pakkanen
16e032c289
Fix installing manpages from subdirs.
9 years ago
Jussi Pakkanen
a6712b7f20
Can haz next revision of C++ standard.
9 years ago
Jussi Pakkanen
92dfc4eb0b
Pch disabling works now.
9 years ago
Nirbheek Chauhan
8c34ea645d
interpreter: Compare the version of a cached dependency() before using it
...
Without this, checks with incompatible versions but the same library would
return true. Example:
dependency('zlib', version : '>=1.2')
dependency('zlib', version : '<1.0') # this will return the same dep again!
Example: https://github.com/mesonbuild/meson/issues/568
9 years ago
Nirbheek Chauhan
0096c51035
interpretor: Correctly check the version of a fallback dependency
...
Previously the check was always done with the project version--which is wrong.
It should always check against the version of the dependency requested.
9 years ago
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