Age | Commit message (Collapse) | Author | Files | Lines |
|
Do this by tracking CMAKE_CURRENT_{SOURCE,BINARY}_DIR variables.
This is achieved by injecting CMake code with CMAKE_PROJECT_INCLUDE
and overriding some builtin functions with a wrapper that adds
additional trace information.
|
|
|
|
|
|
|
|
Just like the native meson subproject has.
|
|
Looking at 45c8557d, the idea behind this seems to be that a test could
conditionally indicate that the list of installed files should not be
validated by creating that file.
It's no longer used anywhere.
Also remove a lingering no-install-files file which isn't used since commit
c693bd9b.
|
|
|
|
Add a test that trying to use a compiler in a target for a language
which hasn't been mentioned in project() or add_languages() gives an
error.
|
|
Add a test that trying to use a native compiler in a target after it's
been tentatively added with add_languages() without native: but isn't
actually available gives an error.
|
|
|
|
If we always copy files over without timestamps, we're forcing
a (probably unnecessary) rebuild. Also include a test for this.
|
|
The Cython generation depends on cstorer.pxd as well, so add that as
dependency.
|
|
v2:
Retain not using logical-and, to avoid short-circuiting side-effects
of add_languages()
|
|
Add a "system" dependency for zlib
|
|
Currently it's just like if all builtin/base/compiler options are
yielding. This patch makes possible to have non-yielding builtin
options. The value in is overriden in this order:
- Value from parent project
- Value from subproject's default_options if set
- Value from subproject() default_options if set
- Value from command line if set
|
|
|
|
this should help users specify leading `~` in various Meson options and variables
without refactoring lots of places inside Meson itself.
|
|
fs: make exception specify method name
fs: actually raise exceptions
fs: resolve path e.g. /opt/foo/.. => /opt/foo
fs: correct behavior of is_symlink
|
|
|
|
|
|
|
|
cmake: Fix spaces in compile flags (fixes #6566)
|
|
Closes: #3472.
|
|
|
|
|
|
|
|
|
|
Fixes: #6557.
|
|
|
|
|
|
|
|
|
|
Add ability to set and query arbitrary variables on declare_dependency objects
|
|
With GCC 10, -fno-common becomes default behavior, meaning that any
subtly-broken code will be broken not so subtly anymore.
This commit changes the linkage to variables declared in headers to
external and, where needed, adds additional definitions in other
compilation units.
|
|
Getting the runtime version fails when no devices are present.
|
|
|
|
Need gcc 6.0 or newer: https://gcc.gnu.org/wiki/Fortran2008Status
|
|
* xenial doesn't ship many dependencies, so make them all optional
since we don't guarantee that everything will work
* cmake/{5,6}: needs stdlib.h for EXIT_SUCCESS on GCC 5
* common/222: needs C++11, and GCC 5 doesn't understand `auto`
correctly unless we explicitly enable it.
* frameworks/1 boost: xenial doesn't ship boost_python3, so make it
properly optional
* frameworks/6 gettext: gettext can be installed without xgettext,
which doesn't cause the project to fail, but the installed files
list is different which causes the test to fail.
* frameworks/7 gnome: gobject-introspection can't be enabled because
the sanitizer unit test detects leaks in glib and fails
|
|
|
|
|
|
The pefile module is a CI dependency now, so we can use that instead
of objdump/dumpbin which greatly simplifies the test. Of course, this
module is also cross-platform so it will work if we add cross-win32 CI
at some point.
|
|
Fix dependency('qt') crash with old Qt on OSX
|
|
The unversioned command is deprecated and removed from some distributions
|
|
This always tries to load a 'qt5core_fr' translation file, when it is
actually named 'qtNcore_fr'(where N is the qt version).
|
|
Make the 'framework/4 qt' test more flexible about what version of Qt is
expected to be present in the CI environment. Currently, this is
hard-coded as Qt5. We add an option to specify it so we can run this
test under CI with just Qt4 present.
|
|
Fixes: #6445
|
|
fixes #6096.
Didn't use CMake because Curses is a real corner-case for CMake that
would require Curses-specific enhancements to Meson's CMake interface.
|
|
declare_dependencies
This allows dependencies declared in subprojects to set variables, and
for those variables to be accessed via the get_variable method, just
like those from pkg-config and cmake. This makes it easier to use
projects from subprojects in a polymorphic manner, lowering the
distinction between a subproject and an external dependency every
further.
|
|
|
|
|