###########################
### Use Bash syntax to set these options.
### The options in this file will overwrite the defaults defined in the script.
###########################



### Do you want to replace an existing build container with a new one (set to true) or reuse an existing container (set to false)?
# Default: false
#replace_container="false"


### Git repository that hosts the checkit_tiff code.
# Default: 'https://git.fsfe.org/art1pirat/checkit_tiff.git'
#cit_repo='https://git.fsfe.org/art1pirat/checkit_tiff.git'


### Versions to build. These are equivalent to Git tags. List available git tags with "git tag -l" to find suitable values.
cit_versions[current]="v1.7.3"
cit_versions[upcoming]="development"


### Name of the build container.
# Default: "cit_build"
#container_name="cit_build"


### Cmake flags to configure the build process. Use empty strings to disable options.
# Set general cmake build flags.
# Default: "-W -Wall -Wextra -ansi -pedantic -O3 -flto -Wno-unused-function -fstack-check -fstack-protector-strong -Wformat -Werror=format-security"
cmake_flags="-W -Wall -Wextra -ansi -pedantic -O3 -flto -Wno-unused-function -fstack-check -fstack-protector-strong -Wformat -Werror=format-security"

### Configure cmake warnings shown during the build process. By default, warnings are OFF (i.e. the parameter is set to an empty string).
# switch warnings on by setting this string to something like:
# cmake_flag_warnings="-W -Wall -Wextra -pedantic -Wno-unused-function -Wformat -Werror=format-security"
# Default: cmake_flag_warnings=""
cmake_flag_warnings=""

### Allow outdated ICC.1:2001-04 version (2.4.0)
# Default: "-DALLOW_ICC1_2001_04"
cmake_flag_icc_outdated="-DALLOW_ICC1_2001_04"

### Use stricter validation of ICC profile version (will compare major and minor
### version). By default, stricter validation is NOT used. Set this parameter to
### "-DWITH_STRONG_ICC" to enable it.
### "ICC specification versions are written so that a 'major revision' involves a
### change in the integer part of the version number, while a minor revision
### involves a change to the fractional part. Only major revisions require a
### change to CMM behaviour, so any v4 profile will be processed in exactly the
### same way."
# Default: ""
#cmake_flag_icc_strict="-DWITH_STRONG_ICC"

### Allow preferred CMM type "LINO".
# Default: "-DALLOW_CMMTYPE_LINO"
cmake_flag_icc_lino=""

### disable the usage of a detected ICC prof lib. By default, ICC prof lib is
### used if found, and the config option is set to an empty string. If you want
### to disable the usage of ICC prof lib, set this parameter to
### "-DWITHOUT_ICC_PROFLIB".
# Default: cmake_flag_icc_proflib=""
cmake_flag_icc_proflib=""

### Compile a statically linked binary. Empty string will create a dynamically linked binary.
### Set both cmake_flag_static="-DSTATIC=1" and cmake_static_compile="-s" to
### create a statically linked binary.
### CAUTION: SETTING ONLY ONE OF THESE TWO PARAMETERS AND LEAVING THE OTHER ONE
### EMPTY WILL RESULT IN A FAULTY BINARY!!!
# Default: "-DSTATIC=1"
cmake_flag_static="-DSTATIC=1"
# Default: "-s"
cmake_static_compile="-s"

