Benjamin Redelings
ea4d5697a8
Fix style issues.
7 years ago
Benjamin Redelings
a82abfcb4a
Use new strategy for finding libraries on Linux & Mac.
7 years ago
Benjamin Redelings
1043b0b4a2
Factor out extra linker search dirs into new function.
7 years ago
Benjamin Redelings
c62078dae5
Add missing for_linux( ) function.
7 years ago
Benjamin Redelings
d55f330df0
Change values in lib_modules dict to lists (of linker args).
7 years ago
Benjamin Redelings
1af17075ab
Add information about Linux and Mac.
7 years ago
Benjamin Redelings
074bd544c7
Fix typo.
7 years ago
Benjamin Redelings
4c7802b107
Link against the library files that we found during module detection.
7 years ago
Benjamin Redelings
71d24094cd
Factor out code to compute modname from basename into a single place.
7 years ago
Jussi Pakkanen
d4985d981f
Merged init branch.
7 years ago
Jussi Pakkanen
f2b33b8dcb
Merge pull request #2852 from jon-turney/warning-location
...
Add filename and lineno to duplicate kwargs warning
7 years ago
Jussi Pakkanen
4a189cf8c5
Add unit test that checks that the sample projects compile.
7 years ago
Jussi Pakkanen
f1afd44b2b
Added C++ library sample.
7 years ago
Jussi Pakkanen
21101fd00a
Added C++ exe sample project.
7 years ago
Jussi Pakkanen
82c8550fb6
Added documentation for project templates.
7 years ago
Jussi Pakkanen
3cc1462dd2
Add a sample shared library project.
7 years ago
Jussi Pakkanen
d2b68d31dd
Added init command that creates a sample exe project.
7 years ago
Jussi Pakkanen
dd3f49af0d
Merge pull request #2757 from xclaesse/pkgconfig
...
pkgconfig: Allow passing Dependency objects to library(_private)
7 years ago
Jon Turney
500c39cb07
Fix test cases/windows/5 resources
...
Currently, this test only tries to load a predefined icon, so the resource
compilation and linking can be completely removed from the meson.build and
it still passes.
Change to try to load the icon contained in the resources we compile.
7 years ago
snsmac
27d5c1c3f9
The scanbuild script does now also look for executables with a version in the name
7 years ago
Jussi Pakkanen
a9c57e17a9
Merge pull request #2849 from polarina/vsregenfix
...
Fix Visual Studio version detection for the `vs` backend
7 years ago
Alexey Stukalov
4f32d11e1b
add Compiler.thread_flags() stub
...
fixes #2834
7 years ago
Jon Turney
ad5cc2ce55
Append warning location to warning output by warning()
7 years ago
Jon Turney
dd1de073f4
Add a test case for location in duplicate kwarg warning
7 years ago
Jon Turney
3c75ae9ced
Add filename and lineno to duplicate kwargs warning
...
Fixes #1626
Also fix 'a an error' typo
7 years ago
Nirbheek Chauhan
ae0f4ef055
compilers: Fix error when objc/objc++ compilers are not found
...
Earlier it would exit with a traceback:
UnboundLocalError: local variable 'out' referenced before assignment
7 years ago
Nirbheek Chauhan
6f3e2a0a07
compilers: prefer C++ over objc in clink_langs
...
Otherwise we will try to use the objc compiler when linking projects
with both objc and C++.
Technically we should use the objc++ linker when doing this, but on
most (all?) systems the objc++ linker is `c++`, which is the same
as the C++ linker.
Closes https://github.com/mesonbuild/meson/issues/2468
7 years ago
Gabríel Arthúr Pétursson
2fc3fc8d67
Remember which Visual Studio backend was auto-detected
...
This fixes the REGEN build target since VSINSTALLDIR does not get set by
Visual Studio when building targets.
Fixes #2848 .
7 years ago
Gabríel Arthúr Pétursson
c8355c9ffa
Fail Visual Studio version detection if VSINSTALLDIR is not set
...
The Visual Studio Developer Command Prompt always sets the VSINSTALLDIR
environment variable. If not, we probably have a broken environment and
won't get very far anyway.
7 years ago
Gabríel Arthúr Pétursson
2c1b45b2b2
Release notes for 0.43 are no longer preliminary
7 years ago
TingPing
ff81db83af
docs: Fix missing syntax highlighting
7 years ago
Nirbheek Chauhan
de3feb9625
docs: find_program native: is available since 0.43
7 years ago
Karol Szuster
8fb7d9261a
Add missing space
7 years ago
Jussi Pakkanen
7fc46a3d06
Explain test setup a bit more.
7 years ago
Jussi Pakkanen
ac8d6087bf
Merge pull request #2334 from mesonbuild/promotedep
...
Add functionality to promote nested dependencies to top level.
7 years ago
Jussi Pakkanen
1806aac376
Merge pull request #2817 from jon-turney/master
...
Update prefix-dependent defaults when project(default_options:) changes prefix
7 years ago
Jussi Pakkanen
d55e98ef50
Merge pull request #2581 from NickeZ/check-subproj-version
...
Disallow subprojects have incompatible deps
7 years ago
Jussi Pakkanen
1904b1a976
Merge pull request #2806 from inigomartinez/gtkdoc
...
gnome.gtkdoc: Add support for non string based content files
7 years ago
Jussi Pakkanen
7ed92d28e8
Merge pull request #2819 from NickeZ/boost-comp-fix
...
boost: Allow older behavior with a warning
7 years ago
Jussi Pakkanen
d0d07a6fa9
Merge pull request #2826 from bredelings/fix-clang-on-linux
...
Fix linking with clang++ on linux if install_rpath.
7 years ago
Andrei Alexeyev
84e47ab654
fix AttributeError in CustomTargetIndex.__repr__
7 years ago
Jussi Pakkanen
a5507404ab
Reformat and update doc page.
7 years ago
Passw
caf151afb9
add one more blank line at the tail of Disabler.md
...
From http://mesonbuild.com/Manual.html , it seems that `Disabler.md` messes up `Modules.md`
7 years ago
Nirbheek Chauhan
55abe16d5a
unit tests: Test that relative install_rpath works correctly
...
We weren't testing this with C++, so the breakage was missed.
https://github.com/mesonbuild/meson/issues/2814
7 years ago
Niklas Claesson
8a89956142
Add failing boost test
7 years ago
Niklas Claesson
d014087fd9
boost: Allow older behavior with a warning
...
Fixes #2813
7 years ago
Benjamin Redelings
f3c182f07d
Add whitespace around '+'.
7 years ago
Benjamin Redelings
907744d55e
Fix linking with clang++ on linux if install_rpath.
7 years ago
Iñigo Martínez
7f78b8aafc
gnome.gtkdoc: Extend GtkDoc test
...
The GtkDoc test has been extended to also test the inclusion of
generated files.
To test this, a new python script has been included which generates
a new docbook file which is included as content file.
7 years ago
Iñigo Martínez
f022cb3a40
gnome.gtkdoc: Add dependencies over generated targets
...
The gtkdoc function can also use generated targets to create
documentation. However, the dependencies over these generated files
are missing, so these must be also included in the run target.
7 years ago