add missing arguments + order

This commit is contained in:
tooomm 2026-07-25 00:04:16 +02:00
parent de6e16e2ff
commit d60da410d4

View file

@ -5,40 +5,41 @@
# Compiles Cockatrice inside a CI environment # Compiles Cockatrice inside a CI environment
# #
# Supported arguments: # Supported arguments:
# --install Runs cmake install
# --package [<package type>] Runs cmake package (optionally: define the type)
# --suffix <suffix> Renames package with provided suffix
# --server Compiles Servatrice
# --test Runs tests
# --debug / --release Sets the build type (CMAKE_BUILD_TYPE)
# --ccache [<size>] Uses ccache and shows stats, optionally provide size # --ccache [<size>] Uses ccache and shows stats, optionally provide size
# --evict-ccache <age> Runs ccache eviction based on given age after build
# --dir <dir> Sets the name of the build dir, default is "build"
# --cmake-generator <generator> Sets the CMake generator (CMAKE_GENERATOR) # --cmake-generator <generator> Sets the CMake generator (CMAKE_GENERATOR)
# --debug / --release Sets the build type (CMAKE_BUILD_TYPE)
# --dir <dir> Sets the name of the build dir, default is "build"
# --evict-ccache <age> Runs ccache eviction based on given age after build
# --install Runs cmake install
# --no-client x
# --package [<package type>] Runs cmake package (optionally: define the type)
# --server Compiles Servatrice
# --suffix <suffix> Renames package with provided suffix
# --target-macos-version <version> Sets the min OS version - only used for macOS builds # --target-macos-version <version> Sets the min OS version - only used for macOS builds
# --test Runs tests
# --vcpkg x
# #
# Used environment variables: # Used environment variables:
# BUILDTYPE # BUILDTYPE x
# MAKE_INSTALL # BUILD_DIR x
# MAKE_PACKAGE # CCACHE_EVICTION_AGE x
# PACKAGE_TYPE # CCACHE_SIZE x
# PACKAGE_SUFFIX # CMAKE_GENERATOR x
# MAKE_SERVER # MAKE_INSTALL x
# MAKE_NO_CLIENT # MAKE_NO_CLIENT x
# MAKE_TEST # MAKE_PACKAGE x
# USE_CCACHE # MAKE_SERVER x
# CCACHE_SIZE # MAKE_TEST x
# CCACHE_EVICTION_AGE # PACKAGE_SUFFIX x
# BUILD_DIR # PACKAGE_TYPE x
# CMAKE_GENERATOR # TARGET_MACOS_VERSION x
# TARGET_MACOS_VERSION # USE_CCACHE x
# #
# Exitcodes: # Exit codes:
# 1 --> Failure # 1 --> Failure
# 3 --> Invalid argument(s) # 3 --> Invalid argument(s)
#TODO order above comment, check & add #TODO check & add missing arguments/variables above
# there are also missing ones like "--no-client" and "--vcpkg"
# arguments and env variables are doubled and are not used uniformly between Linux and macOS/Windows builds which adds complexity # arguments and env variables are doubled and are not used uniformly between Linux and macOS/Windows builds which adds complexity
# Read arguments # Read arguments