From 77ae1b75f3c6feab97a4fffea44aadbd6e1d0b15 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 2 Feb 2020 05:36:38 +0100 Subject: When explicitly generating native header, avoid implicit referenced classes. Thanks to Phil Jordan, who is debating certain build issues of JOGL with me, we figured that certain generated header files ended up in the wrong build folder. E.g. on GNU/Linux, jogamp_nativewindow_windows_GDI.h ended up in build-x86_64/nativewindow/gensrc/native/drm/ This happens due to the new java11 way of generating header files using javac. Per default, all referenced files are being compiled and header files were generated in this case for all of them using the given '-h location' argument. Since nativewindow generates headers for the new drm functionality first (where available), all headers of all included referenced classes ended up in this drm build location. Subsequent javac was skipped 'thanks' to the already existing class files ;-) This patch disables implicit class file creation when explicitly generating headers only using the javac argument '-implicit:none'. This is done for the whole JOGL project (nativewindow, jogl and newt). Other JogAmp modules should not be concerned due to the lack of overspecific platform parts .. --- make/build-newt.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'make/build-newt.xml') diff --git a/make/build-newt.xml b/make/build-newt.xml index ec3d95134..49715f143 100644 --- a/make/build-newt.xml +++ b/make/build-newt.xml @@ -265,6 +265,7 @@ debug="${javacdebug}" debuglevel="${javacdebuglevel}"> + @@ -284,6 +285,7 @@ + @@ -301,6 +303,7 @@ debug="${javacdebug}" debuglevel="${javacdebuglevel}"> + @@ -320,6 +323,7 @@ + @@ -339,6 +343,7 @@ + @@ -358,6 +363,7 @@ + @@ -377,6 +383,7 @@ + @@ -396,6 +403,7 @@ + @@ -417,6 +425,7 @@ + +