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
Jussi Pakkanen
695aa0b8c2
Made cstdlib a subproject.
9 years ago
Jussi Pakkanen
dc148e0702
Remove all special casing for gettext and use elementary operations instead.
9 years ago
Jussi Pakkanen
1574471822
Option for GCC STL debug mode.
9 years ago
Nirbheek Chauhan
58386c4df3
compilers: Remove spurious wait while running sanity check
...
Popen.communicate() already waits for the process to complete.
9 years ago
Nirbheek Chauhan
c9f16a4ab1
cc.has_function: Don't forget to check for stubs in the fallback test
...
The fallback test was making the stub check on Linux/glibc completely useless.
Fixes #535
9 years ago
Hemmo Nieminen
7da51f3756
Do not append a period to test suite names.
9 years ago
Jussi Pakkanen
63c2d92ae7
Merge pull request #531 from centricular/has_function_impl_fix
...
cc.has_function: Also detect implementations and redefinitions by a provided header
9 years ago
Hemmo Nieminen
95c86b5c42
Use CoreData.get_builtin_option() to get builtin option values.
9 years ago
Jussi Pakkanen
eb6548a816
Created an emergency wraptool that downloads directly from Github.
9 years ago
Jussi Pakkanen
8d73d3023a
Better error message when compdb generation fails.
9 years ago
Nirbheek Chauhan
0ac33b8857
tests/common/43: Better, more descriptive error messages
9 years ago
Nirbheek Chauhan
2300c022c2
has_function: Also detect function implementations inside headers
...
This also detects when the header has re-defined the symbol to something
else that is then provided by libc, which is also a case we want to
support.
9 years ago
Jussi Pakkanen
46ce7a9d4b
Merge pull request #516 from centricular/cross-compile_32bit-x86_on_64bit-x86_exe-wrapper
...
Special-case the 32-bit executable on 64-bit x86 case while cross-compiling
9 years ago
Jussi Pakkanen
2e2df70dd0
Merge branch 'centricular-customtarget-path-windows'
9 years ago
Jussi Pakkanen
538854479e
Merge pull request #525 from minijackson/master
...
Use module path for getting scripts dir
9 years ago
Hemmo Nieminen
1d7201dd35
Move all coverage reporting related files under $BUILD_DIR/meson-logs.
9 years ago
Minijackson
cab1c3f2bf
Fix argv count requirement in delwithsuffix.py script
9 years ago
Minijackson
8e94ddf625
Use module path when looking for meson scripts dir
9 years ago
Jussi Pakkanen
e8f3e1ef3a
Merge branch 'nioncode-vs-manygen'.
9 years ago
Jussi Pakkanen
c3f71c60ee
Merge pull request #521 from centricular/cc.links_run_unix_link_flags
...
compilers: Convert args to cc.{links,run} from unix to native
9 years ago
Hemmo Nieminen
c95b0a6c17
Fix a bug in coverage reporting.
...
The directory from where the source files are sought when producing a
coverage report in text or XML format should not be the build directory
but the source directory instead.
9 years ago
Nicolas Schneider
985ea50944
vs2010: add object files from custom_target to project
...
Object files from a custom_target are like external objects and must be
added to the project.
Object files from a generator are automatically used by MSBuild, since they
are part of the CustomBuildStep and thus part of the same project as the
current build target.
9 years ago
Nicolas Schneider
060f195fe0
vs2010: add generated libs as link dependencies
9 years ago
Nicolas Schneider
1ccb4b3a51
vs2010: add dirs of custom_target generated files to include dirs
9 years ago
Nirbheek Chauhan
aa7202d42f
compilers: Remove outdated MSVC implementation of cc.find_library
...
With the change to cc.links to translate unix link flags, this is no
longer needed and is wrong because it hasn't kept-up with the improved
default cc.find_library implementation.
9 years ago
Nirbheek Chauhan
d87f2f5b42
compilers: Convert args to cc.{links,run} from unix to native
...
This allows build files to pass -L and -l flags and have them converted
automatically as needed.
9 years ago
Nirbheek Chauhan
ed774a68c6
scripts/meson_exe: prepend extra_paths to PATH instead of appending
...
This way locally-built DLLs and EXEs are preferred over system-wide ones
9 years ago
Nirbheek Chauhan
35ef1d109a
CustomTarget: require install_dir only when install is true ( #519 )
9 years ago
Nirbheek Chauhan
8cd359acbb
Regex used for configuration data substitution was too broad ( #520 )
9 years ago
Jussi Pakkanen
22f8824afb
Merge msvc cross build fixes.
9 years ago
Jussi Pakkanen
0e469426dd
Created simple C project with own libc.
9 years ago