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.
10 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
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
Jussi Pakkanen
d53c00db13
Yo dawg, can embed quoted single quotes inside quotes.
10 years ago
Jussi Pakkanen
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
10 years ago
Jussi Pakkanen
78d31cafd7
Looser alignment checks. Closes #58 .
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
75a0bc8350
Created a set_variable command.
10 years ago
Jussi Pakkanen
87ea869f02
Can install files created with configure_file.
10 years ago