Nicolas Schneider
9f9f73fa52
add args support for add_postconf_script
9 years ago
Nicolas Schneider
92187501ed
Can add postconfigure script.
9 years ago
Jussi Pakkanen
52b66edb6c
Can specify compile and link args for internal deps.
9 years ago
Jussi Pakkanen
2d32c39471
Handle built targets in custom rules. Closes #411 .
9 years ago
Nicolas Schneider
6de2fd6ab5
vs2010: fix target_to_build_root method
...
Python's os.path.split() does not split the path into its components.
Instead, split the path with str.split() using the OS's file system
separator.
9 years ago
Nicolas Schneider
1196532c0b
fix 'object generator' test case for ninja
...
The ninja backend uses the '/MDd' switch when the tests are run, which
results in LNK4098 error, because the generator does not use the same
version of the Windows runtime library.
9 years ago
Jussi Pakkanen
e96359df70
Only support Python 3.
9 years ago
Nirbheek Chauhan
fabb49773e
Add a test for getting the path of a found program
9 years ago
Jussi Pakkanen
8cd3c8124a
Can add languages only if they are available. Closes #365 .
9 years ago
Jussi Pakkanen
4cd671e69e
More comparison operators. Closes #363 .
9 years ago
Jussi Pakkanen
0c96dbff3a
String to int conversion. Closes #362 .
9 years ago
Jussi Pakkanen
b91134b806
Better error message when failing to run install script. Closes #361 .
9 years ago
Jussi Pakkanen
670d0ed929
Print output of failed tests. Closes ##347.
9 years ago
Jussi Pakkanen
edaf663ee2
By default do not specify language version but instead use the compiler's default.
9 years ago
Jussi Pakkanen
6830f3e147
Forbid backslashes on compiler command lines. It is unfortunately the only reliable way.
9 years ago
Jussi Pakkanen
f1bf87ec8a
Added test to check that backslashes are passed properly through the pipeline.
9 years ago
Jussi Pakkanen
ec0a73b1e2
Fix manygen to work with msvc.
9 years ago
Jussi Pakkanen
9bf641e545
Fix path generation so generations in subdirs work.
9 years ago
Jussi Pakkanen
7e1df7540d
Handle custom targets that produce static libraries that are then linked to other targets.
9 years ago
Jussi Pakkanen
7cad8a1bfb
Fixed some tests for new stricter options and OSX.
9 years ago
Jussi Pakkanen
aa1fc44aca
Fixing threading problems by reordering lines at random. It is the only true way.
9 years ago
Jussi Pakkanen
489ca238c5
Test threads with both C and C++.
9 years ago
Jussi Pakkanen
6a5ec36aeb
Made thread test work on Windows.
9 years ago
Jussi Pakkanen
10acaffde7
Added explicit thread dependency.
9 years ago
Jussi Pakkanen
d64211f570
Moved pkg-config to a module so we no longer need special case code in core for it.
9 years ago
Jussi Pakkanen
b3d61beb2d
A test can be part of multiple suites.
9 years ago
Jussi Pakkanen
70695bead4
Added possibility to have multiple test suites so you can run only a subset of tests. Closes #325 .
9 years ago
Jussi Pakkanen
23c6de3461
Can specify a working directory for tests. Closes #326 .
9 years ago
Jussi Pakkanen
b167f3a56f
Renamed new test dir.
9 years ago
Jussi Pakkanen
913963d608
Can specify extra arguments to generator commands. Closes #315 .
9 years ago
Jussi Pakkanen
278339855d
Projects can specify a license which is written to the dep manifest.
9 years ago
Jussi Pakkanen
3daf0b8a81
Benchmark test binary runs on Windows.
9 years ago
Jussi Pakkanen
26873801bc
Can define benchmarks and run them.
9 years ago
Jussi Pakkanen
c75b75d487
Do not use linker arguments on static libraries.
9 years ago
Jussi Pakkanen
16fa657304
Can use built exes in custom targets.
9 years ago
Jussi Pakkanen
c04e04146e
Use two inputs for a generator to test edge cases.
9 years ago
Jussi Pakkanen
eceedc0d29
Declare buildtype and platform only once.
9 years ago
Jussi Pakkanen
1b697f04cd
Fixed run targets on VS2010.
9 years ago
Jussi Pakkanen
fa9799a96a
Renamed default_library to library.
9 years ago
Jussi Pakkanen
e2313b85d7
Refactored builtin options to a dictionary and created a new default library target type.
9 years ago
Jussi Pakkanen
0962909120
Can specify a subproject fallback for dependencies.
9 years ago
Jussi Pakkanen
062512a0f1
Use project default settings in compile tests unless told not to. Closes #296 .
9 years ago
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