Jussi Pakkanen
d335a84b9e
A few more lgtm fixes.
7 years ago
Jussi Pakkanen
0ab9f23061
Add thread flags to checks if needed. Closes #2106 .
7 years ago
Ben
0ed0bcce49
Vala: enable colored warning and error output ( #2142 )
7 years ago
Nirbheek Chauhan
de2d59cc27
find_library: Ignore libs on MSVC properly
...
In addition to filtering libs out while generating the command-line, we
must also filter them out in find_library() otherwise these libs will be
detected as "found" on Windows with MSVC.
Closes https://github.com/mesonbuild/meson/issues/1509
7 years ago
Nirbheek Chauhan
b3d048e93a
CompilerArgs: Put start/end-group around shared libs too
...
Closes https://github.com/mesonbuild/meson/issues/2096
7 years ago
Alessandro Decina
a9559e0d77
Fix linking Objective-C shared libs on OSX.
...
This commit amends 04a2e6de
making
linker.get_std_shared_lib_link_args() always return -shared for
SharedLibrary(es) instead of -bundle. SharedModule(s) get linked with
linker.get_std_shared_module_link_args() which already correctly returns
-bundle.
Before this change -bundle and -install_name ended up being emitted
for Objective-C shared libraries, which caused a linking error.
7 years ago
Jussi Pakkanen
2269b7f60b
Add build_rpath as new property allowing people to specify rpath entries that are used in the build tree but will be removed on install.
7 years ago
Jussi Pakkanen
ce77fb89b9
Renamed test case number to avoid dupes.
7 years ago
Jussi Pakkanen
181510bd6e
Fix checks on MinGW and VS2010.
7 years ago
Jussi Pakkanen
8396c4f3e6
Added VS support to simd detector.
7 years ago
Jussi Pakkanen
16ec3f0e19
Fix a few OSX "features".
7 years ago
Jussi Pakkanen
d304aac504
Created simd module.
7 years ago
Chocobo1
24c2e4d3ac
Fix typo
...
profile guide optimization -> profile guided optimization
7 years ago
Hemmo Nieminen
09a5399d09
Fix how rpath directories are handled.
...
Linking a library from a directory below the executable's directory caused
an invalid path to be written in the executable's RPATH.
7 years ago
Gabríel Arthúr Pétursson
39c7b0492c
Allow both address- and undefined behavior sanitizers at the same time
7 years ago
Hemmo Nieminen
ea79e94964
Fix a missing path issue causing Python traceback.
...
A path was missing from a call to os.path.relpath when handling rpaths.
Fix this by assuming empty target directory means build root.
8 years ago
Guillaume Poirier-Morency
bbddf51a54
Use 'C sharp' instead of 'C#'
...
The '#' is reserved for Ninja comments and cannot be escaped.
8 years ago
Guillaume Poirier-Morency
5b58ff2783
compilers: Use 'get_display_language' for language-related exceptions
8 years ago
Guillaume Poirier-Morency
fab5634916
Add 'Compiler.get_display_language'
...
Use this when we print language-related information to the console and
via the Ninja backend.
8 years ago
Alistair Thomas
cca0fa8154
Recognise .gs extension as a Vala source
8 years ago
Alistair Thomas
117f4ab8b5
Split out languages from compilers.py
8 years ago
Alistair Thomas
d71da5bdb3
Converted compilers.py to a sub-package
8 years ago