From: Dale Weiler Date: Wed, 14 Jan 2015 02:28:26 +0000 (-0500) Subject: Remove msvc project files and misc stuff X-Git-Tag: xonotic-v0.8.2~64 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6caaedd269a1db1ce6e07d85bb857528c3b50795;p=xonotic%2Fgmqcc.git Remove msvc project files and misc stuff --- diff --git a/misc/check-proj.sh b/misc/check-proj.sh deleted file mode 100755 index b43ec7a..0000000 --- a/misc/check-proj.sh +++ /dev/null @@ -1,140 +0,0 @@ -#!/bin/sh - -host="gmqcc.qc.to" -location="$host/files" -list="$location/files" -hashes="$location/hashes" -options="$location/options" - -#download required things -download_list=$(wget -qO- ${list}) -download_hashes=$(wget -qO- ${hashes}) -download_options=$(wget -qO- ${options}) - -download() { - local old="$PWD" - cd ~/.gmqcc/testsuite - echo "$download_list" | while read -r line - do - echo "downloading $line ..." - wget -q "${location}/$line" - done - - echo "$download_hashes" > ~/.gmqcc/testsuite/hashes - echo "$download_options" > ~/.gmqcc/testsuite/options - - cd "$old" -} - -if [ -z "$download_list" -o -z "$download_hashes" -o -z "$download_options" ]; then - echo "failed to download required information to check projects." - - if [ "$(ping -q -c1 "${host}")" ]; then - echo "host ${host} seems to be up but missing required files." - echo "please file bug report at: github.com/graphitemaster/gmqcc" - else - echo "host ${host} seems to be down, please try again later." - fi - - echo "aborting" - exit 1 -fi - -# we have existing contents around -if [ -f ~/.gmqcc/testsuite/hashes -a -f ~/.gmqcc/testsuite/options ]; then - echo "$download_hashes" > /tmp/gmqcc_download_hashes - echo "$download_options" > /tmp/gmqcc_download_options - - diff -u ~/.gmqcc/testsuite/hashes /tmp/gmqcc_download_hashes > /dev/null - check_hash=$? - diff -u ~/.gmqcc/testsuite/options /tmp/gmqcc_download_options > /dev/null - check_opts=$? - - if [ $check_hash -ne 0 -o $check_opts -ne 0 ]; then - echo "consistency errors in hashes (possible update), obtaining fresh contents" - rm -rf ~/.gmqcc/testsuite/projects - rm ~/.gmqcc/testsuite/*.zip - - download - fi -else - # do we even have the directory - echo "preparing project testsuite for the first time" - if [ ! -d ~/.gmqcc/testsuite ]; then - mkdir -p ~/.gmqcc/testsuite - fi - - download -fi - -if [ ! -d ~/.gmqcc/testsuite/projects ]; then - mkdir -p ~/.gmqcc/testsuite/projects - old="$PWD" - cd ~/.gmqcc/testsuite/projects - echo "$(ls ../ | grep -v '^hashes$' | grep -v '^projects$' | grep -v '^options$')" | while read -r line - do - echo "extracting project $line" - mkdir "$(echo "$line" | sed 's/\(.*\)\..*/\1/')" - unzip -qq "../$line" -d $(echo "$line" | sed 's/\(.*\)\..*/\1/') - done - cd "$old" -else - echo "previous state exists, using it" -fi - -# compile projects in those directories -gmqcc_bin="gmqcc" -env -i type gmqcc 1>/dev/null 2>&1 || { - if [ -f ../gmqcc ]; then - echo "previous build of gmqcc exists, using it" - gmqcc_bin="$(pwd)/../gmqcc" - elif [ -f ./gmqcc ]; then - echo "previous build of gmqcc exists, using it" - gmqcc_bin="$(pwd)/gmqcc" - else - echo "gmqcc not installed and previous build doesn't exist" - echo "please run make, or make install" - exit 1 - fi -} - -end_dir="$PWD" -cd ~/.gmqcc/testsuite/projects -start="$PWD" -find . -maxdepth 1 -mindepth 1 -type d | while read -r line -do - line="${line#./}" - echo -n "compiling $line... " - cd "${start}/${line}" - - # does the project have multiple subprojects? - if [ -f dirs ]; then - echo "" - cat dirs | while read -r dir - do - # change to subproject - echo -n " compiling $dir... " - old="$PWD" - cd "$dir" - cmd="$(cat ../../../options | grep "$line:" | awk '{print substr($0, index($0, $2))}')" - "$gmqcc_bin" $cmd > /dev/null 2>&1 - if [ $? -ne 0 ]; then - echo "error" - else - echo "success" - fi - cd "$old" - done - # nope only one project - else - cmd="$(cat ../../options | grep "$line:" | awk '{print substr($0, index($0, $2))}')" - "$gmqcc_bin" $cmd > /dev/null 2>&1 - if [ $? -ne 0 ]; then - echo "error" - else - echo "success" - fi - fi -done - -cd "$end_dir" diff --git a/misc/nexuiz_export.sh b/misc/nexuiz_export.sh deleted file mode 100755 index a07a7af..0000000 --- a/misc/nexuiz_export.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -if [ ! -d qcsrc ]; then - echo "failed to find qcsrc directory in $(pwd), please run this script" - echo "from nexuiz data directory" - exit 1 -else - # ensure this is actually a xonotic repo - pushd qcsrc > /dev/null - if [ ! -d client -o ! -d common -o ! -d menu -o ! -d server -o ! -d warpzonelib ]; then - echo "this doesnt look like a nexuiz source tree, aborting" - popd > /dev/null - exit 1 - fi -fi - -echo -n "removing redundant files ..." -rm -f nexuiz.ncb -rm -f nexuiz.sln -rm -f nexuiz.suo -rm -f nexuiz.vcproj -rm -f nexuiz.vcproj.user -echo "complete" - -echo -n "creating projects ..." -echo "client" > dirs -echo "server" >> dirs -echo "menu" >> dirs - -echo "complete" - -echo -n "creating zip archive ..." -zip -r -9 ../nexuiz.zip * > /dev/null -echo "complete" - -popd > /dev/null -echo "finished!" diff --git a/misc/xonotic_export.sh b/misc/xonotic_export.sh deleted file mode 100755 index 5cd3921..0000000 --- a/misc/xonotic_export.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -if [ ! -d qcsrc ]; then - echo "failed to find qcsrc directory in $(pwd), please run this script" - echo "from xonotic-data.pk3dir" - exit 1 -else - # ensure this is actually a xonotic repo - pushd qcsrc > /dev/null - if [ ! -d client -o ! -d common -o ! -d dpdefs -o ! -d menu -o ! -d server -o ! -d warpzonelib ]; then - echo "this doesnt look like a xonotic source tree, aborting" - popd > /dev/null - exit 1 - fi -fi - -# force reset and update -git rev-parse -if [ $? -ne 0 ]; then - echo "not a git directory, continuing without rebase" -else - echo -n "resetting git state and updating ... " - git reset --hard HEAD > /dev/null 2>&1 - git pull > /dev/null 2>&1 - echo "complete" -fi - -echo -n "generate precache for csqc ..." -./collect-precache.sh > /dev/null 2>&1 -echo "complete" - -echo -n "removing redundant files ..." -rm -f Makefile -rm -f autocvarize-update.sh -rm -f autocvarize.pl -rm -f collect-precache.sh -rm -f fteqcc-bugs.qc -rm -f i18n-badwords.txt -rm -f i18n-guide.txt -echo "complete" - -echo -n "creating projects ..." -echo "client" > dirs -echo "server" >> dirs -echo "menu" >> dirs - -echo "complete" - -echo -n "creating zip archive ..." -zip -r -9 ../xonotic.zip * > /dev/null -echo "complete" - -popd > /dev/null -echo "finished!" diff --git a/msvc/gmqcc.sln b/msvc/gmqcc.sln deleted file mode 100755 index 39daed8..0000000 --- a/msvc/gmqcc.sln +++ /dev/null @@ -1,38 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gmqcc", "gmqcc\gmqcc.vcxproj", "{A6BD74E1-31BB-4D00-A9E0-09FF1BC76ED6}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qcvm", "qcvm\qcvm.vcxproj", "{DC980E20-C7A8-4112-A517-631DBDA788E7}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pak", "pak\pak.vcxproj", "{A6F66BE9-57EF-4E93-AA9D-6E0C8B0990AD}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsuite", "testsuite\testsuite.vcxproj", "{7E2839D9-9C1A-4489-9FF9-FDC854EBED3D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A6BD74E1-31BB-4D00-A9E0-09FF1BC76ED6}.Debug|Win32.ActiveCfg = Debug|Win32 - {A6BD74E1-31BB-4D00-A9E0-09FF1BC76ED6}.Debug|Win32.Build.0 = Debug|Win32 - {A6BD74E1-31BB-4D00-A9E0-09FF1BC76ED6}.Release|Win32.ActiveCfg = Release|Win32 - {A6BD74E1-31BB-4D00-A9E0-09FF1BC76ED6}.Release|Win32.Build.0 = Release|Win32 - {DC980E20-C7A8-4112-A517-631DBDA788E7}.Debug|Win32.ActiveCfg = Debug|Win32 - {DC980E20-C7A8-4112-A517-631DBDA788E7}.Debug|Win32.Build.0 = Debug|Win32 - {DC980E20-C7A8-4112-A517-631DBDA788E7}.Release|Win32.ActiveCfg = Release|Win32 - {DC980E20-C7A8-4112-A517-631DBDA788E7}.Release|Win32.Build.0 = Release|Win32 - {A6F66BE9-57EF-4E93-AA9D-6E0C8B0990AD}.Debug|Win32.ActiveCfg = Debug|Win32 - {A6F66BE9-57EF-4E93-AA9D-6E0C8B0990AD}.Debug|Win32.Build.0 = Debug|Win32 - {A6F66BE9-57EF-4E93-AA9D-6E0C8B0990AD}.Release|Win32.ActiveCfg = Release|Win32 - {A6F66BE9-57EF-4E93-AA9D-6E0C8B0990AD}.Release|Win32.Build.0 = Release|Win32 - {7E2839D9-9C1A-4489-9FF9-FDC854EBED3D}.Debug|Win32.ActiveCfg = Debug|Win32 - {7E2839D9-9C1A-4489-9FF9-FDC854EBED3D}.Debug|Win32.Build.0 = Debug|Win32 - {7E2839D9-9C1A-4489-9FF9-FDC854EBED3D}.Release|Win32.ActiveCfg = Release|Win32 - {7E2839D9-9C1A-4489-9FF9-FDC854EBED3D}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/msvc/gmqcc/gmqcc.vcxproj b/msvc/gmqcc/gmqcc.vcxproj deleted file mode 100755 index 8335978..0000000 --- a/msvc/gmqcc/gmqcc.vcxproj +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {A6BD74E1-31BB-4D00-A9E0-09FF1BC76ED6} - gmqcc - - - - Application - true - MultiByte - - - Application - false - true - MultiByte - - - - - - - - - - - - - - - Level3 - Disabled - NVALGRIND;%(PreprocessorDefinitions) - - - true - - - - - Level3 - MaxSpeed - true - true - NVALGRIND;%(PreprocessorDefinitions) - - - true - true - true - - - - - - \ No newline at end of file diff --git a/msvc/gmqcc/gmqcc.vcxproj.filters b/msvc/gmqcc/gmqcc.vcxproj.filters deleted file mode 100755 index 7797df3..0000000 --- a/msvc/gmqcc/gmqcc.vcxproj.filters +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/msvc/pak/pak.vcxproj b/msvc/pak/pak.vcxproj deleted file mode 100755 index 4ab71bf..0000000 --- a/msvc/pak/pak.vcxproj +++ /dev/null @@ -1,81 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - - - - - - - - - - - - - - - {A6F66BE9-57EF-4E93-AA9D-6E0C8B0990AD} - pak - - - - Application - true - MultiByte - - - Application - false - true - MultiByte - - - - - - - - - - - - - - - Level3 - Disabled - NVALGRIND;%(PreprocessorDefinitions) - - - true - - - - - Level3 - MaxSpeed - true - true - NVALGRIND;%(PreprocessorDefinitions) - - - true - true - true - - - - - - \ No newline at end of file diff --git a/msvc/pak/pak.vcxproj.filters b/msvc/pak/pak.vcxproj.filters deleted file mode 100755 index 8784b71..0000000 --- a/msvc/pak/pak.vcxproj.filters +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/msvc/qcvm/qcvm.vcxproj b/msvc/qcvm/qcvm.vcxproj deleted file mode 100755 index c7ce04f..0000000 --- a/msvc/qcvm/qcvm.vcxproj +++ /dev/null @@ -1,77 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - - - - - - - - - - - {DC980E20-C7A8-4112-A517-631DBDA788E7} - qcvm - - - - Application - true - MultiByte - - - Application - false - true - MultiByte - - - - - - - - - - - - - - - Level3 - Disabled - NVALGRIND;QCVM_EXECUTOR;%(PreprocessorDefinitions) - - - true - - - - - Level3 - MaxSpeed - true - true - NVALGRIND;QCVM_EXECUTOR;%(PreprocessorDefinitions) - - - true - true - true - - - - - - \ No newline at end of file diff --git a/msvc/qcvm/qcvm.vcxproj.filters b/msvc/qcvm/qcvm.vcxproj.filters deleted file mode 100755 index cbdf8a3..0000000 --- a/msvc/qcvm/qcvm.vcxproj.filters +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/msvc/testsuite/testsuite.vcxproj b/msvc/testsuite/testsuite.vcxproj deleted file mode 100755 index bad2db1..0000000 --- a/msvc/testsuite/testsuite.vcxproj +++ /dev/null @@ -1,81 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - - - - - - - - - - - - - - - {7E2839D9-9C1A-4489-9FF9-FDC854EBED3D} - testsuite - - - - Application - true - MultiByte - - - Application - false - true - MultiByte - - - - - - - - - - - - - - - Level3 - Disabled - NVALGRIND;%(PreprocessorDefinitions) - - - true - - - - - Level3 - MaxSpeed - true - true - NVALGRIND;%(PreprocessorDefinitions) - - - true - true - true - - - - - - \ No newline at end of file diff --git a/msvc/testsuite/testsuite.vcxproj.filters b/msvc/testsuite/testsuite.vcxproj.filters deleted file mode 100755 index fccab25..0000000 --- a/msvc/testsuite/testsuite.vcxproj.filters +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file