You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2021/12/14 17:09:24 UTC
[royale-docs] branch master updated: Added compiler arguments. Still needs editing.
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 4ff7d41 Added compiler arguments. Still needs editing.
4ff7d41 is described below
commit 4ff7d417d4772ff93b56bbd003787239fe3139e4
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Dec 14 19:09:15 2021 +0200
Added compiler arguments. Still needs editing.
---
_data/toc.json | 3 +
compiler.md | 6 +
compiler/compiler-arguments.md | 258 +++++++++++++++++++++++++++++++++++++++++
compiler/compiler-options.md | 2 +-
4 files changed, 268 insertions(+), 1 deletion(-)
diff --git a/_data/toc.json b/_data/toc.json
index d4d6760..040489c 100644
--- a/_data/toc.json
+++ b/_data/toc.json
@@ -215,6 +215,9 @@
"children": [
{
"path": "compiler/compiler-options.md"
+ },
+ {
+ "path": "compiler/compiler-arguments.md"
}
]
},
diff --git a/compiler.md b/compiler.md
index d92c931..3f4872d 100644
--- a/compiler.md
+++ b/compiler.md
@@ -67,3 +67,9 @@ Royale provides several compiler options to customize the use. You can check the
- [Compiler Options](compiler/compiler-options)
> Read about <a href="https://github.com/apache/royale-compiler/wiki/Developer-Guide" target="_blank">how to contribute to the Apache Royale Compiler</a>.
+
+## Compiler Arguments
+
+There are a lot of compiler arguments that can be used when running `mxmlc`. You can see the full list here:
+
+- [Compiler Arguments](compiler/compiler-arguments)
\ No newline at end of file
diff --git a/compiler/compiler-arguments.md b/compiler/compiler-arguments.md
new file mode 100644
index 0000000..7f7599f
--- /dev/null
+++ b/compiler/compiler-arguments.md
@@ -0,0 +1,258 @@
+---
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+layout: docpage
+title: Compiler Arguments
+description: A full list of available compiler arguments
+permalink: /compiler/compiler-arguments
+---
+
+# Compiler Options
+
+List of available compiler options. This list can be generated by running `mxmlc -help advanced`
+
+`-allow-dynamic-bindings`
+`-api-report` `<filename>` -- Used to generate a report of APIs used in a project.
+`-closure-lib` `<string>`
+`-compiler.accessible`
+`-compiler.actionscript-file-encoding` `<string>`
+`-compiler.advanced-telemetry`
+`-compiler.allow-abstract-classes` -- If true, classes and methods can be declared `abstract` and must be overridden to be used.
+`-compiler.allow-import-aliases`
+`-compiler.allow-private-constructors` -- If true, constructors can be declared private. Useful for a class with all-static methods or Singletons.
+`-compiler.allow-private-name-conflicts`
+`-compiler.allow-source-path-overlap`
+`-compiler.allow-subclass-overrides`
+`-compiler.as3`
+`-compiler.binding-event-handler-class` `<string>`
+`-compiler.binding-event-handler-event` `<string>`
+`-compiler.binding-event-handler-interface` `<string>`
+`-compiler.binding-value-change-event` `<string>`
+`-compiler.binding-value-change-event-kind` `<string>`
+`-compiler.binding-value-change-event-type` `<string>`
+`-compiler.byte-array-embed-class` `<string>`
+`-compiler.component-factory-class` `<string>`
+`-compiler.component-factory-interface` `<string>`
+`-compiler.compress`
+`-compiler.context-root` `<context-path>`
+`-compiler.debug`
+`-compiler.defaults-css-files` `[filename]` `[...]`
+`-compiler.defaults-css-url` `<string>`
+`-compiler.define` `<name>` `<value>` -- used to define compiler variables (i.e. `COMPILE::JS`, `CONFIG::debug`)
+`-compiler.enable-runtime-design-layers`
+`-compiler.es`
+`-compiler.exclude-defaults-css-files` `[filename]` `[...]`
+`-compiler.external-library-path` `[path-element]` `[...]`
+`-compiler.fonts.advanced-anti-aliasing`
+`-compiler.fonts.languages.language-range` `<lang>` `<range>`
+`-compiler.fonts.local-font-paths` `[path-element]` `[...]`
+`-compiler.fonts.local-fonts-snapshot` `<string>`
+`-compiler.fonts.managers` `[manager-class]` `[...]`
+`-compiler.fonts.max-cached-fonts` `<string>`
+`-compiler.fonts.max-glyphs-per-face` `<string>`
+`-compiler.fxg-base-class` `<string>`
+`-compiler.headless-server`
+`-compiler.include-libraries` `[library]` `[...]`
+`-compiler.info.royale`
+`-compiler.isolate-styles`
+`-compiler.js-external-library-path` `[path-element]` `[...]`
+`-compiler.js-library-path` `[path-element]` `[...]`
+`-compiler.js-namespaces.namespace` `[uri]` `[manifest]` `[...]`
+`-compiler.keep-all-type-selectors`
+`-compiler.keep-as3-metadata` `[name]` `[...]`
+`-compiler.keep-code-with-metadata` `[name]` `[...]`
+`-compiler.library-path` `[path-element]` `[...]`
+`-compiler.locale` `[locale-element]` `[...]`
+`-compiler.minimum-supported-version` `<string>`
+`-compiler.mobile`
+`-compiler.mxml.children-as-data`
+`-compiler.mxml.compatibility-version` `<version>`
+`-compiler.mxml.force-local-id`
+`-compiler.mxml.imports` `[implicit-import]` `[...]`
+`-compiler.mxml.minimum-supported-version` `<string>`
+`-compiler.namespaces.namespace` `[uri]` `[manifest]` `[...]`
+`-compiler.omit-trace-statements`
+`-compiler.optimize`
+`-compiler.preloader` `<string>`
+`-compiler.proxy-base-class` `<string>`
+`-compiler.remove-dead-code`
+`-compiler.report-invalid-styles-as-warnings`
+`-compiler.report-missing-required-skin-parts-as-warnings`
+`-compiler.services` `<filename>`
+`-compiler.show-actionscript-warnings`
+`-compiler.show-binding-warnings`
+`-compiler.show-invalid-css-property-warnings`
+`-compiler.show-multiple-definition-warnings`
+`-compiler.show-shadowed-device-font-warnings`
+`-compiler.show-unused-type-selector-warnings`
+`-compiler.source-path` `[path-element]` `[...]`
+`-compiler.states-class` `<string>`
+`-compiler.states-event-override-class` `<string>`
+`-compiler.states-instance-override-class` `<string>`
+`-compiler.states-property-override-class` `<string>`
+`-compiler.states-style-override-class` `<string>`
+`-compiler.strict`
+`-compiler.strict-identifier-names`
+`-compiler.strict-xml`
+`-compiler.swf-external-library-path` `[path-element]` `[...]`
+`-compiler.swf-library-path` `[path-element]` `[...]`
+`-compiler.targets` `[target]` `[...]`
+`-compiler.theme` `[filename]` `[...]`
+`-compiler.verbose-stacktraces`
+`-compiler.warn-array-tostring-changes`
+`-compiler.warn-assignment-within-conditional`
+`-compiler.warn-bad-array-cast`
+`-compiler.warn-bad-bool-assignment`
+`-compiler.warn-bad-date-cast`
+`-compiler.warn-bad-es3-type-method`
+`-compiler.warn-bad-es3-type-prop`
+`-compiler.warn-bad-nan-comparison`
+`-compiler.warn-bad-null-assignment`
+`-compiler.warn-bad-null-comparison`
+`-compiler.warn-bad-undefined-comparison`
+`-compiler.warn-boolean-constructor-with-no-args`
+`-compiler.warn-changes-in-resolve`
+`-compiler.warn-class-is-sealed`
+`-compiler.warn-const-not-initialized`
+`-compiler.warn-constructor-returns-value`
+`-compiler.warn-deprecated-event-handler-error`
+`-compiler.warn-deprecated-function-error`
+`-compiler.warn-deprecated-property-error`
+`-compiler.warn-duplicate-argument-names`
+`-compiler.warn-duplicate-variable-def`
+`-compiler.warn-for-var-in-changes`
+`-compiler.warn-import-hides-class`
+`-compiler.warn-instance-of-changes`
+`-compiler.warn-internal-error`
+`-compiler.warn-level-not-supported`
+`-compiler.warn-missing-namespace-decl`
+`-compiler.warn-negative-uint-literal`
+`-compiler.warn-no-constructor`
+`-compiler.warn-no-explicit-super-call-in-constructor`
+`-compiler.warn-no-type-decl`
+`-compiler.warn-number-from-string-changes`
+`-compiler.warn-scoping-change-in-this`
+`-compiler.warn-slow-text-field-addition`
+`-compiler.warn-this-within-closure`
+`-compiler.warn-unlikely-function-value`
+`-compiler.warn-xml-class-has-changed`
+`-debug-password` `<string>`
+`-default-background-color` `<int>`
+`-default-frame-rate` `<int>`
+`-default-script-limits` `<max-recursion-depth>` `<max-execution-time>`
+`-default-size` `<width>` `<height>`
+`-dependency-graph` `<filename>`
+`-dump-config` `<filename>`
+`-error-problems` `[class]` `[...]`
+`-exclude-native-js-libraries`
+`-export-internal-symbols`
+`-export-protected-symbols`
+`-export-public-symbols`
+`-external-js-lib` `[path-element]` `[...]`
+`-externs` `[symbol]` `[...]`
+`-externs-report` `<filename>`
+`-frames.frame` `[label]` `[classname]` `[...]`
+`-help` `[keyword]` `[...]`
+`-html-output-filename` `<filename>`
+`-html-template` `<filename>`
+`-ignore-problems` `[class]` `[...]`
+`-include-inheritance-dependencies-only`
+`-include-resource-bundles` `[bundle]` `[...]`
+`-includes` `[symbol]` `[...]`
+`-inline-constants`
+`-js-compiler-define` `<name>` `<value>`
+`-js-compiler-option` `[option]` `[...]`
+`-js-complex-implicit-coercions`
+`-js-default-initializers`
+`-js-dynamic-access-unknown-members`
+`-js-getter-prefix` `<string>`
+`-js-load-config` `<filename>`
+`-js-output` `<filename>`
+`-js-output-optimization` `[optimization]` `[...]`
+`-js-output-type` `<string>`
+`-js-resolve-uncertain`
+`-js-setter-prefix` `<string>`
+`-js-vector-emulation-class` `<string>`
+`-js-vector-index-checks`
+`-jsx-factory` `<string>`
+`-keep-asdoc`
+`-link-report` `<filename>`
+`-load-config` `<filename>`
+`-load-externs` `<filename>`
+`-marmotinni` `<string>`
+`-metadata.contributor` `<name>`
+`-metadata.creator` `<name>`
+`-metadata.date` `<text>`
+`-metadata.dateFormat` `<text>`
+`-metadata.description` `<text>`
+`-metadata.language` `<code>`
+`-metadata.localized-description` `<text>` `<lang>`
+`-metadata.localized-title` `<title>` `<lang>`
+`-metadata.publisher` `<name>`
+`-metadata.title` `<text>`
+`-module-output` `<filename>`
+`-mxml-reflect-object-property`
+`-output` `<filename>`
+`-prevent-rename-internal-instance-accessors`
+`-prevent-rename-internal-instance-methods`
+`-prevent-rename-internal-instance-variables`
+`-prevent-rename-internal-static-accessors`
+`-prevent-rename-internal-static-methods`
+`-prevent-rename-internal-static-variables`
+`-prevent-rename-internal-symbols`
+`-prevent-rename-mxml-symbol-references`
+`-prevent-rename-protected-instance-accessors`
+`-prevent-rename-protected-instance-methods`
+`-prevent-rename-protected-instance-variables`
+`-prevent-rename-protected-static-accessors`
+`-prevent-rename-protected-static-methods`
+`-prevent-rename-protected-static-variables`
+`-prevent-rename-protected-symbols`
+`-prevent-rename-public-instance-accessors`
+`-prevent-rename-public-instance-methods`
+`-prevent-rename-public-instance-variables`
+`-prevent-rename-public-static-accessors`
+`-prevent-rename-public-static-methods`
+`-prevent-rename-public-static-variables`
+`-prevent-rename-public-symbols`
+`-raw-metadata` `<text>`
+`-remove-circulars` -- Causes dependencies to be written in a way which satisfies the Google Closure Compiler. Use this if you have circular dependencies.
+`-remove-unused-rsls`
+`-resource-bundle-list` `<filename>`
+`-runtime-shared-libraries` `[url]` `[...]`
+`-runtime-shared-library-path` `[path-element]` `[rsl-url]` `[policy-file-url]` `[rsl-url]` `[policy-file-url]`
+`-runtime-shared-library-settings.application-domain` `[path-element]` `[application-domain-target]` `[...]`
+`-runtime-shared-library-settings.force-rsls` `[path-element]` `[...]`
+`-sdk-js-lib` `[path-element]` `[...]`
+`-size-report` `<filename>`
+`-skip-transpile`
+`-source-map`
+`-source-map-source-root` `<string>`
+`-static-link-runtime-shared-libraries`
+`-strict-publish`
+`-swf-debugfile-alias` `<filename>`
+`-swf-version` `<int>`
+`-target-player` `<version>`
+`-tools-locale` `<string>`
+`-use-direct-blit`
+`-use-flashbuilder-project-files`
+`-use-gpu`
+`-use-network`
+`-verify-digests`
+`-version`
+`-warn-public-vars`
+`-warning-problems` `[class]` `[...]`
+`-warnings`
diff --git a/compiler/compiler-options.md b/compiler/compiler-options.md
index be7191e..22c856e 100644
--- a/compiler/compiler-options.md
+++ b/compiler/compiler-options.md
@@ -22,7 +22,7 @@ permalink: /compiler/compiler-options
# Compiler Options
-List of available compiler options
+List of recent commonly used available compiler options
## Contents