Update README.md
This commit is contained in:
parent
04a67da8d4
commit
21cf31fee7
1 changed files with 25 additions and 12 deletions
37
README.md
37
README.md
|
|
@ -5,32 +5,45 @@ Build switch homebrew apps the easy way
|
|||
|
||||
```bash
|
||||
$ switch_build --help
|
||||
Switch build version 0.1.2.
|
||||
::
|
||||
switch-build [options] project-file.nim
|
||||
|
||||
switch-build [options] project-file.nim
|
||||
Note:
|
||||
$DKP refers to the devkitpro path, set either by env vars or
|
||||
the command line options.
|
||||
|
||||
Options:
|
||||
-d, --devkitProPath:PATH devkitpro installation path for switch-build.
|
||||
-f, --forceBuild Force compilation of files
|
||||
-r, --release Compile in release mode (no stack traces, more efficient)
|
||||
--verbose Stream output of compilation tasks
|
||||
-x, --libnxPath:PATH The path where your libnx libraries live. (default is
|
||||
$DKP/libnx). Useful for development of custom libnx
|
||||
features
|
||||
-d, --devkitProPath:PATH Devkitpro installation path for switch-build.
|
||||
Required if DEVKITPRO environment var is unset
|
||||
-c, --devkitCompilerPath:PATH
|
||||
the path where the binaries for the devkitpro
|
||||
The path where the binaries for the devkitpro
|
||||
compiler lives. (defaults to "$DKP/devkitA64/bin/")
|
||||
-t, --tools:PATH the devkitpro tools (defaults to "$DKP/tools/bin")
|
||||
-o, --output:PATH output files in a specified directory (defaults to "build")
|
||||
-b, --build:TYPE the type of output file you want (defaults to "all")
|
||||
-t, --tools:PATH The devkitpro tools (defaults to "$DKP/tools/bin")
|
||||
-o, --output:PATH Output files in a specified directory (defaults to "build")
|
||||
-b, --build:TYPE The type of output file you want (defaults to "all")
|
||||
and can be specified multiple times.
|
||||
TYPE is one of: "all", "nro", "nso", "pfs0", "nacp",
|
||||
or "lst"
|
||||
-l, --libs:STR additional linker args to pass to the compiler.
|
||||
-l, --libs:STR Additional linker args to pass to the compiler.
|
||||
Ex: --libs="-lsdl -Lpath/to/lib"
|
||||
|
||||
-i, --includes:STR additional includes to pass to the compiler
|
||||
-i, --includes:STR Additional includes to pass to the compiler
|
||||
Ex: --includes="-Ipath/to/include -Ipath/to/another/include"
|
||||
-n, --name:STR the output file name to use. (defaults to input file name)
|
||||
-a, --author:STR sets the author name for the generate NRO and NACP file
|
||||
-v, --version:STR sets the version information for the generated NRO and NACP
|
||||
-n, --name:STR The output file name to use. (defaults to input file name)
|
||||
-a, --author:STR Sets the author name for the generate NRO and NACP file
|
||||
-v, --version:STR Sets the version information for the generated NRO and NACP
|
||||
file
|
||||
-p, --icon:PATH sets the icon to use for the generated NRO and NACP
|
||||
-q, --romfsPath:PATH Path to use to build in a romfs image
|
||||
-p, --icon:PATH Sets the icon to use for the generated NRO and NACP
|
||||
(defaults to "$DKP/libnx/default_icon.jpg)
|
||||
--nimCompilerArgs:STR Args to pass to the nim compiler
|
||||
-h, --help show this help
|
||||
|
||||
Note, single letter options that take an argument require a colon. E.g. -p:PATH.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue