Nicolas Schneider
06268665cd
vs: use project references in vcxproj instead of the sln file
...
This shows dependencies clearly in the 'references' view of VS and properly
propagates the dependencies when building a single vcxproj with msbuild.
6 years ago
Jussi Pakkanen
82e4cb7731
Merge pull request #4743 from dcbaker/native-file-extended
...
Extend native files to store install path information
6 years ago
Nicolas Schneider
ccdac894ee
vs: remove regen project dependency from solution file
...
We now set up the project as a reference inside the vcxproj, so the
explicit order in the solution is not needed anymore.
6 years ago
Nicolas Schneider
a0112cfb26
vs: add reconfigure checks for each target
...
Previously, this was only added to C/C++ targets, but not for others.
Thus, if you'd change a setting through `meson configure`, this was not
picked up, e.g. the install target said it was up-to-date and when force
rebuilding it, it also did not use the new settings until the build dir
was manually reconfigured.
6 years ago
Jussi Pakkanen
a32f31fdfa
Merge pull request #4826 from mensinda/confDefOpts
...
mconf: Use introspection to print the project default options (fixes #2543 )
6 years ago
Dylan Baker
0eccce799f
mesonlib: Use class syntax for defining MachineChoice
...
Mypy struggles with the imperative form of Enum declaration, and
upstream doesn't consider it a bug, they recomend using the class form
for enums that are going to be externally exposed.
6 years ago
Dylan Baker
b5d847e38c
allow paths to be set in the cross file
...
Just like the previous patch, but for cross files
Fixes #1433
6 years ago
Dylan Baker
5b896ed70b
allow setting directory locations in a native file
...
This allows the person running configure (either a developer, user, or
distro maintainer) to keep a configuration of where various kinds of
files should end up.
6 years ago
Dylan Baker
b50899419c
environment: Add class for storing directories from cross and config files
6 years ago
Michael Hirsch, Ph.D
627d0d1f3e
BUGFIX: ignore non-ascii Fortran characters
6 years ago
Michael Hirsch, Ph.D
eccc59874d
BUGFIX: handle Fortran 2003 "use" syntax
6 years ago
Yeongjin Jeong
a75bda7154
mtest: Don't use thread executor when enabled gdb in test_setup
...
If the global gdb option of mesontest is disabled (e.g. not set '--gdb')
and the gdb option of test_setup is enabled, an exception will be thrown.
Because signal.signal function can only be called from the main thread.
If attempting to call it from other threads will cause a ValueError exception to be raised.
6 years ago
Jussi Pakkanen
711f73e386
Merge pull request #4860 from nioncode/fixPch
...
Fix missing PCH dependencies
6 years ago
ericLemanissier
bb3997a39c
fix documentation typo for default_library option [skip ci]
6 years ago
Jussi Pakkanen
849667c981
Fix Cuda doc page heading. [skip ci]
6 years ago
Luís Ferreira
8a4a75cc59
dub: fix detecting packages with different compilers and archs
...
Fix 'not founded' message for packages with another name for
specific configurations instead of just 'library'.
Signed-off-by: Luís Ferreira <lsferreira169@gmail.com>
6 years ago
Michael Hirsch, Ph.D
70e6f4198c
Fortran 2008 submodule ( #4874 )
6 years ago
Christoph Reiter
db61d018ce
ci/msys2: use the msys2 ninja
...
msys2 now has ninja 1.9.0 which includes the timestamp fixes
6 years ago
Luís Ferreira
b90f196f17
d: fix linker due to argument errors
...
- revert some changes on d2483d4412
commit.
Signed-off-by: Luís Ferreira <lsferreira169@gmail.com>
6 years ago
Daniel Mensinger
71d174bcbe
Fixed some code issues
6 years ago
Dylan Baker
097faee83b
run_project_tests: add support for loading cross files
6 years ago
Dylan Baker
30cf4f9c3a
run_project_tests: Add support for loading a native file in tests
...
The file must be called nativefile.txt
6 years ago
Jussi Pakkanen
902aaf2ce6
Merge pull request #4626 from Ericson2314/consolidate-properties
...
Go through coreutils.compiler_options.{build.host.target}
6 years ago
Jussi Pakkanen
59791fc569
gnome.compile_resources: Add ld binary method
6 years ago
Jussi Pakkanen
e26b5a119e
Merge pull request #4835 from obilaniu/cudaimprovements
...
CUDA support improvements
6 years ago
Nicolas Schneider
c1fa61b7d9
vs: add PCH headers to project
...
Otherwise, they will not be visible in the IDE.
6 years ago
Christoph Reiter
1bd14b52b2
python: don't require a Python lib in case we don't link against it. Fixes #4841
...
In case extensions aren't linked against libpython we can't assume one exists at
all or is available in a known directory.
6 years ago
Daniel Mensinger
69cb314718
Fix introspection test case for solaris ( fixes #4866 )
6 years ago
Corentin Noël
08757dcdfd
vala: Support position-independent executables
6 years ago
Ninja-Koala
4775dd48a6
Fix required version
6 years ago
Ninja-Koala
0601895032
More robust name generation
6 years ago
Olexa Bilaniuk
592af0b1af
Add unstable CUDA module.
...
Includes three general utility functions connected to CUDA, in
particular the crafting of -gencode flags as done in CMake:
https://github.com/Kitware/CMake/blob/master/Modules/FindCUDA/
select_compute_arch.cmake
6 years ago
Ninja-Koala
b0832c8747
Move some additional functionality into the new function
6 years ago
John Ericson
19f81d3e33
Never access environment.properties downstream
...
Instead use coredata.compiler_options.<machine>. This brings the cross
and native code paths closer together, since both now use that.
Command line options are interpreted just as before, for backwards
compatibility. This does introduce some funny conditionals. In the
future, I'd like to change the interpretation of command line options so
- The logic is cross-agnostic, i.e. there are no conditions affected by
`is_cross_build()`.
- Compiler args for both the build and host machines can always be
controlled by the command line.
- Compiler args for both machines can always be controlled separately.
6 years ago
Ninja-Koala
34191ec018
Use triple quote string for linkerscript
6 years ago
Ninja-Koala
83d78d7b6e
Move target generation in new function
6 years ago
Ninja-Koala
b6a6076596
Disable for cross builds
6 years ago
Nicolas Schneider
3cbc7c7bd9
msvc: fix PCH staleness
6 years ago
Nicolas Schneider
2044bc53b3
use same compiler args for pch as for regular target
...
Fixes #999 , #1415 , #2361 .
6 years ago
Ninja-Koala
6026a35446
Handle minus sign correctly
6 years ago
Ninja-Koala
1f14a58d3b
Add second dependency file for c target
6 years ago
Ninja-Koala
a6f09b9754
Remove dependency file from c target
6 years ago
Ninja-Koala
27edd112e2
Fix code formatting
6 years ago
Ninja-Koala
b4f04a67de
gnome.compile_resources: Add ld binary method
...
Instead of generating a c file that gets compiled,
directly create object file with ld.
See https://gitlab.gnome.org/GNOME/glib/issues/1489
6 years ago
John Ericson
6dbe33d949
C# and Java compilers should have `is_cross = False`
...
All compilers should define this attribute. Probably should change base
class to require this.
6 years ago
Daniel Mensinger
da7b9df16c
Ensure that func dicts provide the same set of functions
6 years ago
Nirbheek Chauhan
79c087bad2
macos: lipo outputs aarch64 as arm64, fix it
...
Or we'll reject arm64 objects as invalid when building for aarch64
6 years ago
Nirbheek Chauhan
8a7537ce24
qt: Only look for a framework on macOS if building for macOS
...
When building for iOS, the Qt binaries only contain static libraries
and headers. No framework.
With this, Meson can successfully compile and link to Qt on iOS
6 years ago
Michael Hirsch, Ph.D
8821c0aadc
better handle variable HDF5 setups, update Fortran compiler def
6 years ago
Daniel Mensinger
e1a83793ae
CMake: Added support for CMAKE_MODULE_PATH and extra CMake args ( closes #4779 )
6 years ago