Jussi Pakkanen
910dcbf290
Projects can specify default values for options.
9 years ago
Jussi Pakkanen
e4ff4b7c8c
Can specify version requirements to subprojects.
9 years ago
Jussi Pakkanen
c5788548d2
Can check for Meson version in project definition.
9 years ago
Jussi Pakkanen
df979ad422
String startswith and endswith methods.
9 years ago
Jussi Pakkanen
a16bea5938
More variable introspection.
9 years ago
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
4e8c4035e5
Can have built binaries in run_targets. Closes #264 .
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
Jussi Pakkanen
e29e4358e6
Use makedirs instead of mkdir. Closes #247 .
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
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
83cc5ce4c5
Allow more than one install script and make gtkdoc method return one.
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.
10 years ago
Jussi Pakkanen
8f27cd399e
Fixed broken subdir object extraction and moved tests.
10 years ago
Jussi Pakkanen
6d744b13ff
Now can create internal dependencies to simplify subproject usage.
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
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
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
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