Jussi Pakkanen
30d0c2292f
Support target-only cross compilation properly.
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
eb3cdb6f8d
Changed cross compilation file to new format.
9 years ago
Afief Halumi
5148972bfe
Avoid sorting object list before generating target
...
When adding objects to a build target (specifically static libraries)
they should appear at the end of the object list. Sorting the list always
put them at the beginning of the list.
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
f03be73f02
ninjabackend: drop debugging print
...
We don't want have this print, because it's not needed info for users.
It was introduced in cd40187d4e
.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
cd40187d4e
Handle files() in Vala arguments and set up deps correctly.
10 years ago
Igor Gnatenko
1476af4ada
vala: don't ignore vala_args. Closes #192
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Igor Gnatenko
919d958485
vala: use --target-glib only if >=, == specified
...
it does changes to generated code to drop deprecated functions, so
we can get unexpected errors
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
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
Igor Gnatenko
aa9008e76d
ninjabackend: fix bad-continuation
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
10 years ago
Jussi Pakkanen
05b6220844
In Vala .vapi files are sort of headers that you must put on the command line. Make it so.
10 years ago
Jussi Pakkanen
852fb28888
Do not use -o with Vala. Closes #120 .
10 years ago
Jussi Pakkanen
cf0bd77ddd
Do not invoke linker via cmd /c on Windows.
10 years ago
Jussi Pakkanen
5bebe6ce14
A few more eradications of plain strings.
10 years ago
Jussi Pakkanen
83e04ca70f
Fix the remaining tests.
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
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
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
10 years ago
Jussi Pakkanen
f390f152e5
Fix windows.
10 years ago
Jussi Pakkanen
d6ef93434e
Fix generators with multiple files.
10 years ago
Jussi Pakkanen
48477102c9
Now can compile all Qt5 tests with module.
10 years ago
Jussi Pakkanen
6e6ac02eaf
Major refactoring to move Qt5 from core into a module. Rules are written but moc/uic/rrc are not generated yet.
10 years ago
Jussi Pakkanen
52b69b8939
Make sure that build and source subdirectories are always in search
...
path.
10 years ago
Jussi Pakkanen
c6dbf98a05
Do not use linker arguments of dependencies' dependencies if the target is a static library because the static linker does not understand them.
10 years ago
Jussi Pakkanen
87ea869f02
Can install files created with configure_file.
10 years ago
Jussi Pakkanen
99bb73e6c9
Changed install_data to get rid of useless and confusing target subdir name.
10 years ago
Jussi Pakkanen
bf5466e7ef
An implementation of build_always as slightly modified from the original by Axel Waggershauser.
10 years ago
Axel Waggershauser
963892a7c3
basic support for 'build_always' feature of custom targets
10 years ago
Jussi Pakkanen
73b8ff5341
Rework installation logic so we can go outside the install prefix.
10 years ago
Jussi Pakkanen
2107be2a78
Add thread flags to compilers and use them on dependencies that require threads. Fixes #31 .
10 years ago
Jussi Pakkanen
646afcac0d
Run targets are in the console pool for obvious reasons.
10 years ago
Jussi Pakkanen
0f65a5991c
Removed remnants of old debug funcs.
10 years ago
Jussi Pakkanen
08ef881c86
Extracted compiler definitions to their own file.
10 years ago
Jussi Pakkanen
4cfb3f1947
To celebrate the new version of Ninja in Debian, start using the console pool.
10 years ago
Jussi Pakkanen
8771b1f49b
Better Ninja detection.
10 years ago
Robin McCorkell
339d2a0a2b
Always run tests and external commands
10 years ago
Jussi Pakkanen
525f0ae6d2
Harmonised copyright declarations.
10 years ago
Jussi Pakkanen
e0ec0c977f
Do not quote $out or $in because Ninja does it by itself.
10 years ago
Jussi Pakkanen
0c86f30d4b
Can install entire subtrees with one command. Closes #14 .
10 years ago
Jussi Pakkanen
a500c6cfa8
Can install data files from subdirectories.
10 years ago
Jussi Pakkanen
d767bcf86d
Can install man files from a subdir.
10 years ago
Jussi Pakkanen
8313c4ed00
Use correct path when installing headers. Fixes #16 .
10 years ago
Juhani Simola
d6a21792c3
Ninja backend: objects generated with custom_target can be linked
10 years ago
Jussi Pakkanen
83df68aa3f
Fortran dep fix on Windows.
10 years ago
Jussi Pakkanen
ff934952a0
Some windows fixes.
10 years ago
Jussi Pakkanen
154dc83973
Multiple generated sources in one target now work.
10 years ago
Jussi Pakkanen
77c14525c3
Autodetect runnable commands on unix (where chmod values might be wrong) and Windows (where files with weird suffixes are unrunnable.
10 years ago