Jussi Pakkanen
24d23c3086
Can add file objects to command line arguments. Closes #235 .
9 years ago
Jussi Pakkanen
ee4e785b1e
Add support for subscripting array objects with [].
9 years ago
Jussi Pakkanen
60ff47f736
Can specify gtk-doc search dirs with include_directories. Closes #231 .
9 years ago
Jussi Pakkanen
78739afd9c
Use system() instead of name() which is a confusing term.
9 years ago
Jussi Pakkanen
a5abcf1fe2
Created the += operator.
9 years ago
Jussi Pakkanen
05d929d542
Fix introspection and make it possible to have top level targets with the same name in subprojects. Fixes #222 .
9 years ago
Jussi Pakkanen
cbc329fc32
Add sgml main to gtk-doc.
9 years ago
Jussi Pakkanen
83cc5ce4c5
Allow more than one install script and make gtkdoc method return one.
9 years ago
Jussi Pakkanen
8b52dec6d9
Can generate gtkdoc documentation.
9 years ago
Jussi Pakkanen
b6cb7fd29e
Fix symbol exportation and other things to make all tests pass on MSVC.
9 years ago
Jussi Pakkanen
463d08d545
Now host_machine, build_machine and target_machine are properly separated and return correct values.
9 years ago
Jussi Pakkanen
6af21dd20e
Fix add_global_arguments call that was using the old syntax. Closes #213 .
9 years ago
Jussi Pakkanen
5788f47952
Added (or, rather, brought back) the add_languages function.
9 years ago
Jussi Pakkanen
0e508bf818
Added a extract_all_objects method to make recombining targets easier. Fixes #205 .
9 years ago
Jussi Pakkanen
1d4af5c84e
Added test for declare_dependency.
9 years ago
Jussi Pakkanen
0356024300
Give top level targets unique private directories even if they share a basename with some other top level target.
9 years ago
Jussi Pakkanen
833cb56f5c
Can create top level targets that have the same name but different type.
9 years ago
Igor Gnatenko
d7ca9eee5a
vala: add support for --target-glib
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
8f27cd399e
Fixed broken subdir object extraction and moved tests.
10 years ago
Jussi Pakkanen
ec74616bbd
Prevent extraction of objects from subprojects.
10 years ago
Jussi Pakkanen
6d744b13ff
Now can create internal dependencies to simplify subproject usage.
10 years ago
Jussi Pakkanen
39c26d6fe0
Can use both main and nomain gtest in same project. Fixes #149 .
10 years ago
Hemmo Nieminen
b63281d37a
Add a test for object extraction from subprojects.
...
Commit ff51f2196f
broke object extraction from subprojects. Add a new test case
to ensure this doesn't happen again.
Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
10 years ago
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