Jussi Pakkanen
a9ec9ba104
Basic outline for exposing private dir. Not working fully yet.
9 years ago
Jussi Pakkanen
7bb28ef3c8
Flatten method arguments so you can generate an array of items.
9 years ago
Kyle Manna
8fcbff8542
tests: Use /usr/bin/env python3
...
* Use the env variable to $PATH is searched instead of hardcoded
* Enables a local python build to take priority over system python build
as commonly used by tools like virtualenv.
9 years ago
Jussi Pakkanen
d4a922c21a
Can set build targets as arguments to run_target. Closes #270 .
9 years ago
Jussi Pakkanen
384365c843
Added outdir() method to build targets so we can make output dirs togglable.
9 years ago
Jussi Pakkanen
325ed6288b
Can leave Boost modules empty to only use the plain header libraries. Closes #263 .
9 years ago
Jussi Pakkanen
2e585856be
Prevent generation of Ninja files with target ambiguities.
9 years ago
Jussi Pakkanen
4e8c4035e5
Can have built binaries in run_targets. Closes #264 .
9 years ago
Jussi Pakkanen
776f899e78
Made boost on windows kinda work.
9 years ago
Jussi Pakkanen
a90bbb7277
Finally full test suite passes, even gir.
9 years ago
Jussi Pakkanen
0b0d787624
A bunch more conversions.
9 years ago
Jussi Pakkanen
f9060a70bb
Converted a bunch of locations to support different target output path.
9 years ago
Marko Raatikainen
28f60ca474
Fix shared libraries for fortran
9 years ago
Jussi Pakkanen
e29e4358e6
Use makedirs instead of mkdir. Closes #247 .
9 years ago
Jussi Pakkanen
f32db9afa2
Generator outputs are all relative.
9 years ago
Jussi Pakkanen
5467b7d58b
Made Fortran static libraries work. Closes #237 .
9 years ago
Igor Gnatenko
0384fa9175
add python test for glib and test against lib
...
print->print_message is caused because GI does print->print_
in python bindings which is not good.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
9 years ago
Igor Gnatenko
7b0dd7299c
tests/gnome/gir: use modern GLib stuff
...
* less boilerplate GObject code
* fixes memory leaks in main function
* drop unused deps
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
9 years ago
Jussi Pakkanen
5ffe46bc6a
Add version numbers to projects and generate a dep manifest.
9 years ago
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.
10 years ago
Jussi Pakkanen
833cb56f5c
Can create top level targets that have the same name but different type.
10 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