gluonhq / substrate

Create native Java(FX) apps for desktop, mobile and embedded
GNU General Public License v2.0
397 stars 51 forks source link

store object files in a well-defined location #159

Open johanvos opened 4 years ago

johanvos commented 4 years ago

nativeCompile and nativeLink have to share some state. The state can be described by path locations though, without the need of a configuration file or additional arguments.

The objectfiles generated by nativeCompile are needed by nativeLink, but the locations are in non-repeatable directories, e.g. ./target/client/arm64-ios/gvm/tmp/SVM-1575056164225/hellofx.hellofx.o ./target/client/arm64-ios/gvm/tmp/SVM-1575056164225/llvm.o

Therefore, it would be better if nativeCompile at the end of the compile step copies the objectfiles to e.g. ./target/client/arm64-ios/gvm/obj or similar, where nativeLink can find them

jperedadnr commented 3 years ago

Is this still something we should implement, or can we close this issue @johanvos ?