Nirbheek Chauhan
b9a7c0cf39
misc: Use relative imports everywhere
...
Using 'mesonbuild' as the module can cause it to use the
system-installed module and can also break if we rename the directory,
so avoid that by always using relative imports.
8 years ago
Nirbheek Chauhan
52eab4b006
vs backend: coredata.meson_script_file was renamed
8 years ago
Jussi Pakkanen
1f4cce86ad
Remove shebangs on files that are not runnable and add execute bits to those that are.
8 years ago
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
8 years ago
Nirbheek Chauhan
69d9c2228d
vs: Fix Meson invocation while doing regen ( #646 )
...
The Meson script is not always in $scriptdir/../../ -- for instance if
installed with pip on Windows, the scriptdir is in:
C:/Python35/Lib/site-packages/meson-0.33.0.dev1-py3.5.egg/mesonbuild/scripts
and the meson.py script is in:
C:/Python35/Scripts
So, let's save the path available as Environment().meson_script_file
into the coredata.dat private file and use that to invoke Meson when
doing regen.
Also, let's fetch the backend that was used from the coredata too
instead of hard-coding vs2010.
Both these were causing a hard failure while doing regen with msbuild or
visual studio.
8 years ago
Nicolas Schneider
40a7287a59
vs2010: properly check whether solution needs to be regenerated
9 years ago
Jussi Pakkanen
58d7db4a6c
Some windows fixes.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
66c01401de
Moved scripts in the module and started work to run them via the main meson command.
9 years ago
Jussi Pakkanen
a5508d3fd3
Can run most of test suite (with hacks).
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
33301dec0e
Bump version number for new development.
9 years ago
Jussi Pakkanen
5be7c011bf
Regenerator script works, but is not run automatically yet.
9 years ago
Jussi Pakkanen
19003e49d0
Generate a standin vcxproject to regenerate build definitions when the project setup changes.
9 years ago
Jussi Pakkanen
48477102c9
Now can compile all Qt5 tests with module.
10 years ago
Jussi Pakkanen
6e6ac02eaf
Major refactoring to move Qt5 from core into a module. Rules are written but moc/uic/rrc are not generated yet.
10 years ago
Jussi Pakkanen
519f159dcc
Create a gnome module and add support for resource compiling.
10 years ago
Jussi Pakkanen
ec491e200b
A very simple module implementation to get things going.
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
Jussi Pakkanen
a05021f749
Helper app to delete files with a given suffix.
12 years ago
Jussi Pakkanen
3f3496f08a
Fix shebang lines to work on OSX too.
12 years ago
Jussi Pakkanen
54cde351ef
Meson can now be installed and run from system directories.
12 years ago
Jussi Pakkanen
d30c2eba03
Added script to compile Meson itself.
12 years ago