Skip to content

Commit

Permalink
经典魔兽世界 可用版本
Browse files Browse the repository at this point in the history
  • Loading branch information
geektcp committed Jan 21, 2017
0 parents commit ca8db39
Show file tree
Hide file tree
Showing 3,319 changed files with 733,198 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Lineendings
*.sln eol=crlf
*.vcproj eol=crlf
*.vcxproj* eol=crlf

src/shared/revision_nr.h eol=lf
src/shared/revision_sql.h eol=lf

# Whitespace rules
# strict (no trailing, no tabs)
*.cpp whitespace=trailing-space,space-before-tab,tab-in-indent,cr-at-eol
*.h whitespace=trailing-space,space-before-tab,tab-in-indent,cr-at-eol

# normal (no trailing)
*.sql whitespace=trailing-space,space-before-tab,cr-at-eol
*.txt whitespace=trailing-space,space-before-tab,cr-at-eol

# special files which must ignore whitespace
*.patch whitespace=-trailing-space
91 changes: 91 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# NOTE! Please use 'git-ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Normal rules
#
.*
*.o
*.o.*
*.a
*.so
*.so.dbg
*.bin
*.gz

#
# Top-level generic files
#
bin
build
tags
TAGS
!.gitignore
!.gitattributes
!.travis.yml

#
# Build generated files
#
autom4te.cache

#
# Editors / debuggers / other output files
#
*~
*.bak
*.orig
*.patch
callgrind.out.*

#
# Git stuff
#
# stgit directories
patches-*

#
# VS binaries output
#
bin/*

#
# VS temporary files
#
*.ncb
*.suo
*.sdf
*.opensdf
*.sln.cache
*.vsp
ipch
*.user
*.opendb

#
# CMake temporary files
#
CMakeFiles
CMakeCache.txt
cmake_install.cmake

#
# OS specific
#
# MacOS
.DS_Store

#
# Special exceptions
#

# ned files from excluded dirs
!dep/tbb/src/Makefile

# recastnavigation directory needs exception
!dep/recastnavigation/RecastDemo/Build/
79 changes: 79 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#
# This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#

language: cpp

# reduce clone time by only getting the latest commit and not the whole history (default for travis is 100)
git:
depth: 1

# make use of the new container based infrastructure at travis to improve performance (we don't need sudo)
sudo: false

# only run travis on the master branch
branches:
only:
- master

os:
- linux

compiler:
- clang
- gcc

env:
matrix:
- BUILD_TYPE=Release
- BUILD_TYPE=Release PCH_FLAG="ON"

addons:
apt:
sources:
- kubuntu-backports
- boost-latest
- ubuntu-toolchain-r-test
packages:
- build-essential
- libtool
- gcc-4.8
- g++-4.8
- make
- cmake
- libboost1.55-dev
- libboost-system1.55-dev
- libboost-program-options1.55-dev
- libboost-thread1.55-dev

# overwrite GCC version for GCC build only
before_install:
- if [ $CC = "gcc" ] ; then export CC=gcc-4.8 CXX=g++-4.8 ; fi

script:
- test -d _build || mkdir _build
- test -d _install || mkdir _install
- cd _build
- if [ $PCH_FLAG = "ON" ] ; then
cmake -DCMAKE_INSTALL_PREFIX=../_install .. -DPCH=1;
else
cmake -DCMAKE_INSTALL_PREFIX=../_install ..;
fi
- make -j4

# if this configuration file is not in one of the offical CMaNGOS repositories at http://github.com/cmangos/, PLEASE remove the notifications or point them to another IRC channel!

Loading

0 comments on commit ca8db39

Please sign in to comment.