Skip to content

Commit

Permalink
Add -f switch info to axmol command help output (axmolengine#1729)
Browse files Browse the repository at this point in the history
* Add -f switch to help output

* Update wording
  • Loading branch information
rh101 authored Mar 4, 2024
1 parent 6b32bfc commit 3b967e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
# -cc: toolchain: for win32 you can specific -cc clang to use llvm-clang, please install llvm-clang from https://github.com/llvm/llvm-project/releases
# -xc: additional cmake options: i.e. -xc '-Dbuild','-DCMAKE_BUILD_TYPE=Release'
# -xb: additional cross build options: i.e. -xb '--config','Release'
# -c(configOnly): no build, only generate natvie project file (vs .sln, xcodeproj)
# -c(configOnly): no build, only generate native project files (vs .sln, xcodeproj)
# -d: specify project dir to compile, i.e. -d /path/your/project/
# -f: force generate native project files. Useful if no changes are detected, such as with resource updates.
# examples:
# - win32:
# - pwsh build.ps1 -p win32
Expand Down
9 changes: 6 additions & 3 deletions tools/console/axmol.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,9 @@ options:
-cc: toolchain: for win32 you can specific -cc clang to use llvm-clang, please install llvm-clang from https://github.com/llvm/llvm-project/releases
-xc: additional cmake options: i.e. -xc '-Dbuild','-DCMAKE_BUILD_TYPE=Release'
-xb: additional cross build options: i.e. -xb '--config','Release'
-c: no build, only generate natvie project file (vs .sln, xcodeproj)
-c: no build, only generate native project files (vs .sln, xcodeproj)
-d: specify project dir to compile, i.e. -d /path/your/project/
-f: force generate native project files. Useful if no changes are detected, such as with resource updates.
examples:
- win32:
- axmol build -p win32
Expand Down Expand Up @@ -279,8 +280,9 @@ options:
-cc: toolchain: for win32 you can specific -cc clang to use llvm-clang, please install llvm-clang from https://github.com/llvm/llvm-project/releases
-xc: additional cmake options: i.e. -xc '-Dbuild','-DCMAKE_BUILD_TYPE=Release'
-xb: additional cross build options: i.e. -xb '--config','Release'
-c: no build, only generate natvie project file (vs .sln, xcodeproj)
-c: no build, only generate native project files (vs .sln, xcodeproj)
-d: specify project dir to compile, i.e. -d /path/your/project/
-f: force generate native project files. Useful if no changes are detected, such as with resource updates.
"@;
};
run = @{
Expand All @@ -297,8 +299,9 @@ options:
-cc: toolchain: for win32 you can specific -cc clang to use llvm-clang, please install llvm-clang from https://github.com/llvm/llvm-project/releases
-xc: additional cmake options: i.e. -xc '-Dbuild','-DCMAKE_BUILD_TYPE=Release'
-xb: additional cross build options: i.e. -xb '--config','Release'
-c: no build, only generate natvie project file (vs .sln, xcodeproj)
-c: no build, only generate native project files (vs .sln, xcodeproj)
-d: specify project dir to compile, i.e. -d /path/your/project/
-f: force generate native project files. Useful if no changes are detected, such as with resource updates.
"@
}
}
Expand Down

0 comments on commit 3b967e6

Please sign in to comment.