Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-07-12 | Decrease version requirement to work on Xenial. | Jussi Pakkanen | 1 | -2/+2 | |
2020-03-17 | docs: Add Environment variables for compiler/linker selection | Dylan Baker | 1 | -0/+4 | |
We really should be documenting these in an easy to find and reference place. | |||||
2020-02-25 | test: merge installed_files.txt into test.json | Daniel Mensinger | 2 | -1/+5 | |
2020-01-29 | Bump Java version in test program. | Jussi Pakkanen | 1 | -2/+2 | |
2018-11-07 | tests/java: force latency in generation to exercise race | Dylan Baker | 1 | -1/+1 | |
Because we are racing here. In reality *all* of the java in that target may rely on the generated file, so we need to block all of them, like we would for headers in C/C++. | |||||
2018-11-02 | ninjabackend: add generated source files to jar compile target source list | Aurélien Zanelli | 5 | -0/+54 | |
Otherwise, passing result of custom_target() to jar() target is ignored and won't be compiled resulting in build fail. | |||||
2018-07-03 | java: add jar linking test | Niclas Moeslund Overby | 4 | -0/+26 | |
2018-05-16 | tests: Remove redundant test and include_directories('.') | Niclas Moeslund Overby | 10 | -39/+1 | |
2018-05-16 | ninja: add build dir to javac -sourcepath | Robert Bragg | 5 | -0/+52 | |
To allow the javac -implicit:class behaviour to know where to find generated .java files then the build directory for the target is also added to the -sourcefile path. | |||||
2018-05-16 | ninja: avoid needing include_directory('.') with jar() | Robert Bragg | 3 | -0/+36 | |
Although only one file is passed to javac at a time, if your code has any inter-file dependencies javac still needs to know how to find other source files for its -implicit:class feature to work whereby it will automatically also compile files that the given file depends on. -implicit:class is the default, practical, behaviour of javac since otherwise it would be necessary to declare the class dependencies for parallel java builds to be feasible. Passing "include_directory: include_directory('.')" to jar() causes -souredir <path/to/top/of/java/src> to be passed to javac which then enables your source code to have inter-file class dependencies - assuming none of your source code is generated. This ensures that '.' is included by default. | |||||
2018-05-16 | ninja: pass separated paths to javac -sourcepath | Robert Bragg | 3 | -0/+37 | |
The -sourcepath option can't be passed multiple times to javac, since it simply overrides prior arguments. Instead -sourcepath takes a colon (or semi-colon on windows) separated list of paths. | |||||
2017-02-06 | Do not strip jar targets. Closes #1343. | Jussi Pakkanen | 2 | -1/+4 | |
2016-12-12 | Make Java compilation work with inner classes. Closes #1157. | Jussi Pakkanen | 2 | -0/+20 | |
2016-11-20 | Can set compiler arguments in Java. | Jussi Pakkanen | 2 | -0/+16 | |
2016-01-10 | Build Java projects with multiple files and other cleanups. | Jussi Pakkanen | 6 | -12/+30 | |
2014-03-11 | Now with working subdirs for Java. | Jussi Pakkanen | 3 | -0/+13 | |
2014-03-11 | Can run built jar files. | Jussi Pakkanen | 1 | -1/+2 | |
2014-03-11 | A few tweaks. | Jussi Pakkanen | 1 | -1/+1 | |
2014-03-10 | Started work on Java support because why not. | Jussi Pakkanen | 2 | -0/+11 | |