Jussi Pakkanen
9c9ab25190
Created a build_target function to set build target type dynamically.
10 years ago
Jussi Pakkanen
ff51f2196f
Make extract_objects work with subdirectories.
10 years ago
Igor Gnatenko
46804d4fe6
add has_type method
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
ab1c35dd0b
tests: add negative test against #117
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Afief Halumi
acdef2e588
Allow user to specify subproject directory in project definition
...
project() now takes an optional keyword argument `subproject_dir` which specifies
the directory in which Meson will look for subproject. This argument is ignored
in subprojects as all subprojects are owned by the top level project.
subproject() now looks for the subproject in ${MESON_SOURCE_ROOT}/${SUBPROJECT_DIR}/foo
where SUBPROJECT_DIR can be assigned using project() in the top level project.
10 years ago
Jussi Pakkanen
3f7f984a39
Handle then unary negation operator.
10 years ago
Jussi Pakkanen
572587f5ce
Fix cross compilation tests.
10 years ago
Jussi Pakkanen
698b1c6471
Use QMake to sniff compiler flags on platforms without pkg-config.
10 years ago
Jussi Pakkanen
c78f8c9945
Renamed file function to files and made it take multiple arguments.
10 years ago
Jussi Pakkanen
6354b5f54a
Made file object testing a bit more thorough.
10 years ago
Jussi Pakkanen
bf9b5d7b72
The first step in a major refactoring starts by adding a new layer of abstraction.
10 years ago
Jussi Pakkanen
dfee5e5200
Fix subproject again.
10 years ago
Hemmo Nieminen
4952d2628e
Add a second "shared subproject" test.
...
This time, process the subprojects in reverse order.
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Hemmo Nieminen
0747402e6a
Fix a typo in test "79 shared subproject".
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
d532dbef42
Fix use of shared subprojects.
10 years ago
Hemmo Nieminen
e3b72045c4
Add a test case for a "shared subproject".
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
bfa68aaeaf
Autodetect Qt5 rcc dependencies as well as reasonably possible.
10 years ago
Jussi Pakkanen
e87d3c07ad
Can specify explicit dependencies for custom targets.
10 years ago
Hemmo Nieminen
a3544847ca
Accept source files in extract_objects() (also) as a list.
...
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
10 years ago
Jussi Pakkanen
00ecf811e6
Add this thing I forgot.
10 years ago
Jussi Pakkanen
94bc5f4033
Shameful hack to get configure files working with custom targets. Needs to be fixed properly during file object refactoring.
10 years ago
Igor Gnatenko
d121b7cd55
modules/gnome: add export_packages kwarg to g-ir-scanner
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
2db5f97402
modules/gnome: add symbol_prefix kwarg to g-ir-scanner
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
d53c00db13
Yo dawg, can embed quoted single quotes inside quotes.
10 years ago
Igor Gnatenko
f1d2827bce
modules/gnome: inherit global cflags to g-ir-scanner. Closes #74
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
10 years ago
Igor Gnatenko
3be7297de8
modules/gnome: add support for multiple include for Gir. Closes #69
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
888945ac2e
modules/gnome: install Gir also and auto-detect it's dir
...
Gir file should be installed in devel subpackage
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
f94fc2f497
modules/gnome: auto-set girepository directory
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
78d31cafd7
Looser alignment checks. Closes #58 .
10 years ago
Jussi Pakkanen
cdbfed21bc
Test for posargs being before kwargs.
10 years ago
Jussi Pakkanen
9741f75277
Created gdbus-codegen helper in the gnome module.
10 years ago
Jussi Pakkanen
9e1700cbfe
Moved different gnome feature tests in their own subdirectories.
10 years ago
Jussi Pakkanen
8ae740bb83
Added simple gsettings schema compiler to gnome module.
10 years ago
Jussi Pakkanen
1ac00031f9
Persist modules so they are imported only once for the lifetime of a build directory.
10 years ago
Jussi Pakkanen
96839e5893
Made Qt5 module do just preprocessing instead of building full executable, so it is composable with e.g. gettext and flex modules (when they appear).
10 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
3f46cd7fb3
Added gobject-introspection to gnome module.
10 years ago
Jussi Pakkanen
519f159dcc
Create a gnome module and add support for resource compiling.
10 years ago
Jussi Pakkanen
52b69b8939
Make sure that build and source subdirectories are always in search
...
path.
10 years ago
Jussi Pakkanen
ec491e200b
A very simple module implementation to get things going.
10 years ago
Jussi Pakkanen
e40eec4b85
Use fallback if git is not installed. Closes #44 .
10 years ago
Jussi Pakkanen
d5329489a1
Verify version of wxwidgets dependency.
10 years ago
Jussi Pakkanen
75a0bc8350
Created a set_variable command.
10 years ago
Jussi Pakkanen
87ea869f02
Can install files created with configure_file.
10 years ago
Jussi Pakkanen
99bb73e6c9
Changed install_data to get rid of useless and confusing target subdir name.
10 years ago
Axel Waggershauser
5a0cd64f9a
fixed typo in filename
10 years ago
Axel Waggershauser
223596d7bf
added support for optional custom command and replace_string parameter of vcs_tag
10 years ago