diff options
author | Sven Gothel <[email protected]> | 2020-02-02 05:36:38 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-02-02 05:36:38 +0100 |
commit | 77ae1b75f3c6feab97a4fffea44aadbd6e1d0b15 (patch) | |
tree | c4276d6c5fb21dede947c2829e4960874ec3ef2e /src/jogl/classes | |
parent | 8e5dae78bb99a0fbcd5593e91c2b08e84dd639e4 (diff) |
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 ..
Diffstat (limited to 'src/jogl/classes')
0 files changed, 0 insertions, 0 deletions