mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-28 14:47:11 -07:00
cpack debug
This commit is contained in:
+21
-3
@@ -328,10 +328,14 @@ if [[ $USE_CCACHE == 1 ]]; then
|
|||||||
ccache --show-stats
|
ccache --show-stats
|
||||||
ccache --show-compression
|
ccache --show-compression
|
||||||
echo " -----"
|
echo " -----"
|
||||||
|
ccache --show-stats --verbose
|
||||||
|
ccache --show-compression
|
||||||
|
echo " -----"
|
||||||
ccache --zero-stats
|
ccache --zero-stats
|
||||||
echo " -----"
|
echo " -----"
|
||||||
ccache --show-stats
|
ccache --show-stats
|
||||||
ccache --show-compression
|
echo " -----"
|
||||||
|
ccache --show-stats --verbose
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -339,7 +343,7 @@ fi
|
|||||||
### Build
|
### Build
|
||||||
|
|
||||||
# Configure CMake
|
# Configure CMake
|
||||||
echo "::group::Configure CMake"
|
echo "::group::Generate buildsystem"
|
||||||
cmake --version
|
cmake --version
|
||||||
echo "Running CMake configuration with following flags: ${flags[*]}"
|
echo "Running CMake configuration with following flags: ${flags[*]}"
|
||||||
cmake -S . -B "$BUILD_DIR" "${flags[@]}"
|
cmake -S . -B "$BUILD_DIR" "${flags[@]}"
|
||||||
@@ -405,9 +409,23 @@ fi
|
|||||||
|
|
||||||
# Package
|
# Package
|
||||||
if [[ $MAKE_PACKAGE == 1 ]]; then
|
if [[ $MAKE_PACKAGE == 1 ]]; then
|
||||||
|
echo "::group::Debug NSIS / CPack"
|
||||||
|
cat "_CPack_Packages/win64/NSIS/NSISOutput.log"
|
||||||
|
echo " -----"
|
||||||
|
find . -name "NSIS.definitions.nsh"
|
||||||
|
find "$BUILD_DIR" -name "NSIS.definitions.nsh"
|
||||||
|
ls -l "$BUILD_DIR/NSIS.definitions.nsh"
|
||||||
|
echo "::endgroup:"
|
||||||
|
|
||||||
echo "::group::Create package"
|
echo "::group::Create package"
|
||||||
cpack --version
|
cpack --version
|
||||||
cpack --config "$BUILD_DIR/CPackConfig.cmake"
|
(
|
||||||
|
cd "$BUILD_DIR"
|
||||||
|
cpack
|
||||||
|
)
|
||||||
|
# cpack --config "$BUILD_DIR/CPackConfig.cmake"
|
||||||
|
# cmake --build "$BUILD_DIR" --target package
|
||||||
|
#TODO included --config? compare with former isntall and other --target variants used
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
if [[ -n $PACKAGE_SUFFIX ]]; then
|
if [[ -n $PACKAGE_SUFFIX ]]; then
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ case $err in
|
|||||||
*** ***
|
*** ***
|
||||||
***********************************************************
|
***********************************************************
|
||||||
|
|
||||||
Exiting...
|
|
||||||
EOM
|
EOM
|
||||||
exit 2
|
exit 2
|
||||||
;;
|
;;
|
||||||
@@ -48,7 +47,6 @@ EOM
|
|||||||
*** ***
|
*** ***
|
||||||
***********************************************************
|
***********************************************************
|
||||||
|
|
||||||
Exiting...
|
|
||||||
EOM
|
EOM
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ cd "${BASH_SOURCE%/*}/" || exit 2 # could not find path, this could happen with
|
|||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
include=("cockatrice/src" \
|
include=("cockatrice/src" \
|
||||||
libcockatrice_* \
|
libcockatrice_* \
|
||||||
"oracle/src" \
|
"oracle/src" \
|
||||||
"servatrice/src" \
|
"servatrice/src" \
|
||||||
"tests")
|
"tests")
|
||||||
|
|||||||
Reference in New Issue
Block a user