Browse Source

fixes: jsonadapter always build for debug

Release_2.1
Andreas Buff 2 weeks ago
parent
commit
c480f0e5c2
2 changed files with 12 additions and 0 deletions
  1. +10
    -0
      build-macos_dependency.template
  2. +2
    -0
      buildcode/pEpminijsonadapter.code

+ 10
- 0
build-macos_dependency.template View File

@ -33,6 +33,16 @@ mkdir -p "${LIB_DIR}"
mkdir -p "${BIN_DIR}"
mkdir -p "${TMP_DIR}"
BUILD_FOR_DEBUG=0
if [ "${CONFIGURATION}" == "Release" ]; then
BUILD_FOR_DEBUG=0
if [ "${CONFIGURATION}" == "Debug" ]; then
BUILD_FOR_DEBUG=1
else
echo "Error: Unhandled congiguration!"
exit 1
fi
MACOSX_DEPLOYMENT_TARGET_INTEL=$("${SCRIPT_DIR}"/get-config-macos-deployment-target-x86_64.sh)
MACOSX_DEPLOYMENT_TARGET_ARM=$("${SCRIPT_DIR}"/get-config-macos-deployment-target-M1.sh)
# Funcs


+ 2
- 0
buildcode/pEpminijsonadapter.code View File

@ -21,6 +21,8 @@ pushd "${PEP_JSON_ADAPTER_DIR}/server"
\n
NDEBUG=yes\n
\n
DEBUG=${BUILD_FOR_DEBUG}\n
\n
PREFIX=${CURRENT_LIB_DIR}\n
\n
PEP_INCLUDE=${PREFIX}/include\n


Loading…
Cancel
Save