Trying explicitly turning on debug symbols for all mac configurations

meow-7.2.2
Don Kjer 2012-10-19 23:54:41 +00:00
parent e18d97782f
commit 6dee3e638a
1 changed files with 8 additions and 3 deletions

View File

@ -76,9 +76,14 @@ pre_build()
-DLL_TESTS:BOOL="$run_tests" \
-DTEMPLATE_VERIFIER_OPTIONS:STRING="$template_verifier_options" $template_verifier_master_url
mv ${build_dir}/SecondLife.xcodeproj/project.pbxproj ${build_dir}/SecondLife.xcodeproj/project.pbxproj.intermediate
grep -v GCC_GENERATE_DEBUGGING_SYMBOLS ${build_dir}/SecondLife.xcodeproj/project.pbxproj.intermediate > ${build_dir}/SecondLife.xcodeproj/project.pbxproj
rm ${build_dir}/SecondLife.xcodeproj/project.pbxproj.intermediate
# *HACK - Fix debug symbol generation in xcode
case "$arch" in
Darwin) sed -i '' 's/GCC_GENERATE_DEBUGGING_SYMBOLS = NO/GCC_GENERATE_DEBUGGING_SYMBOLS = YES/' ${build_dir}/SecondLife.xcodeproj/project.pbxproj
#mv ${build_dir}/SecondLife.xcodeproj/project.pbxproj ${build_dir}/SecondLife.xcodeproj/project.pbxproj.intermediate
#grep -v GCC_GENERATE_DEBUGGING_SYMBOLS ${build_dir}/SecondLife.xcodeproj/project.pbxproj.intermediate > ${build_dir}/SecondLife.xcodeproj/project.pbxproj
#rm ${build_dir}/SecondLife.xcodeproj/project.pbxproj.intermediate
;;
esac
check_for "After 'autobuild configure'" ${build_dir}/packages/dictionaries