summaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-06-18 19:55:28 +0200
committerSven Gothel <[email protected]>2023-06-18 19:55:28 +0200
commitb939d0e0555b0fe0e3609d6d867941b9aacf0e6f (patch)
tree3bdcfa83952df92bc6b78e24325f855161378d6e /src/java/com
parentec4bce202d434cd302f3b654b83169c641b8d03c (diff)
CPP Enable Pragma Once: Remove cli '--enablePragmaOnce' option as it is enabled by default
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/jogamp/gluegen/GlueGen.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/java/com/jogamp/gluegen/GlueGen.java b/src/java/com/jogamp/gluegen/GlueGen.java
index edfe360..2370db3 100644
--- a/src/java/com/jogamp/gluegen/GlueGen.java
+++ b/src/java/com/jogamp/gluegen/GlueGen.java
@@ -411,8 +411,6 @@ public class GlueGen implements GlueEmitterControls {
debug=true;
} else if (arg.equals("--dumpCPP")) {
copyCPPOutput2Stderr=true;
- } else if (arg.equals("--enablePragmaOnce")) {
- enablePragmaOnce=true;
} else if (arg.equals("--disablePragmaOnce")) {
enablePragmaOnce=false;
} else if (arg.equals("--preserveGeneratedCPP")) {
@@ -466,8 +464,7 @@ public class GlueGen implements GlueEmitterControls {
out.println("-Cjava-emitter.cfg.");
out.println(" --debug enables debug mode");
out.println(" --dumpCPP directs CPP to dump all output to stderr as well");
- out.println(" --enablePragmaOnce allow handle of #pragma once directive during parsing (default)");
- out.println(" --disablePragmaOnce disable handling of #pragma once directive during parsing");
+ out.println(" --disablePragmaOnce disable handling of #pragma once directive during parsing (enabled by default)");
out.println(" --preserveGeneratedCPP preserve generated CPP file during generation (File it's already preserved by debug mode)");
exit(1);
}