forked from d1zzy/pvpgn
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from HarpyWar/master
Sync with Harpywar
- Loading branch information
Showing
181 changed files
with
36,312 additions
and
2,936 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
language: cpp | ||
|
||
os: | ||
- linux | ||
|
||
before_install: | ||
- sudo apt-get install build-essential zlib1g-dev libmysqlclient-dev liblua5.1-0-dev | ||
- mkdir build | ||
- cd build | ||
|
||
script: | ||
- cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn -D WITH_MYSQL=true -D WITH_LUA=true ../ | ||
- make | ||
- sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
branches: | ||
only: | ||
- master | ||
|
||
os: Windows Server 2012 | ||
|
||
clone_folder: c:\pvpgn | ||
|
||
install: | ||
- cmd: cd c:\ | ||
- cmd: appveyor DownloadFile https://github.com/HarpyWar/pvpgn-magic-builder/archive/master.zip | ||
- cmd: 7z.exe x master.zip >nul | ||
- cmd: ren pvpgn-magic-builder-master builder | ||
- cmd: mkdir c:\builder\source\ | ||
- cmd: xcopy /E /R /K /Y /Q "c:\pvpgn" "c:\builder\source\" | ||
|
||
build: | ||
project: c:\builder\build\pvpgn.sln | ||
|
||
build_script: | ||
- cmd: cd c:\builder\ | ||
- cmd: build_pvpgn.bat cmake_only 6 2 1 y | ||
- cmd: call "%VS120COMNTOOLS%vsvars32.bat" | ||
- cmd: set INCLUDE=c:\builder\module\include\atlmfc\;%INCLUDE% | ||
- cmd: call "%FrameworkDir%%FrameworkVersion%\MSBuild.exe" c:\builder\build\pvpgn.sln /t:Rebuild /p:Configuration=Release;UseEnv=true /consoleloggerparameters:Summary;PerformanceSummary;Verbosity=minimal /maxcpucount | ||
|
||
test: | ||
assemblies: | ||
- '**\src\bnetd\Release\bnetd.exe' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Copyright (c) 2013 Martin Felis <[email protected]> | ||
# License: Public Domain (Unlicense: http://unlicense.org/) | ||
# Modified by Edvin "Lego3" Linge for the CorsixTH project. | ||
# | ||
# Try to find Lua or LuaJIT depending on the variable WITH_LUAJIT. | ||
# Sets the following variables: | ||
# LUA_FOUND | ||
# LUA_INCLUDE_DIR | ||
# LUA_LIBRARY | ||
# | ||
# Use it in a CMakeLists.txt script as: | ||
# | ||
# OPTION (WITH_LUAJIT "Use LuaJIT instead of default Lua" OFF) | ||
# UNSET(LUA_FOUND CACHE) | ||
# UNSET(LUA_INCLUDE_DIR CACHE) | ||
# UNSET(LUA_LIBRARY CACHE) | ||
# FIND_PACKAGE (Lua REQUIRED) | ||
|
||
SET (LUA_FOUND FALSE) | ||
SET (LUA_LIBRARIES) | ||
|
||
SET (LUA_INTERPRETER_TYPE "Lua5.1") | ||
SET (LUA_LIBRARY_NAME lua5.1 lua51 lua lua-5.1) | ||
SET (LUA_INCLUDE_DIRS include/lua5.1 include/lua51 include/lua include/lua-5.1 include) | ||
|
||
|
||
FIND_PATH (LUA_INCLUDE_DIR lua.h | ||
HINTS | ||
ENV LUA_DIR | ||
PATH_SUFFIXES ${LUA_INCLUDE_DIRS} | ||
PATHS | ||
/opt/local | ||
/usr/local | ||
/usr | ||
/opt | ||
/sw | ||
~/Library/Frameworks | ||
/Library/Frameworks | ||
) | ||
FIND_LIBRARY (LUA_LIBRARY NAMES ${LUA_LIBRARY_NAME} | ||
HINTS | ||
ENV LUA_DIR | ||
PATH_SUFFIXES lib | ||
PATHS | ||
/usr | ||
/usr/local | ||
/opt/local | ||
/opt | ||
/sw | ||
~/Library/Frameworks | ||
/Library/Frameworks | ||
) | ||
|
||
IF (LUA_INCLUDE_DIR AND LUA_LIBRARY) | ||
SET (LUA_FOUND TRUE) | ||
SET (LUA_LIBRARIES ${LUA_LIBRARY}) | ||
ENDIF (LUA_INCLUDE_DIR AND LUA_LIBRARY) | ||
|
||
IF (LUA_FOUND) | ||
IF (NOT Lua_FIND_QUIETLY) | ||
MESSAGE(STATUS "Found ${LUA_INTERPRETER_TYPE} library: ${LUA_LIBRARY}") | ||
ENDIF (NOT Lua_FIND_QUIETLY) | ||
ELSE (LUA_FOUND) | ||
IF (Lua_FIND_REQUIRED) | ||
MESSAGE(FATAL_ERROR "Could not find ${LUA_INTERPRETER_TYPE}") | ||
ENDIF (Lua_FIND_REQUIRED) | ||
ENDIF (LUA_FOUND) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua DEFAULT_MSG LUA_LIBRARY LUA_INCLUDE_DIR) | ||
|
||
MARK_AS_ADVANCED ( LUA_INCLUDE_DIR LUA_LIBRARY) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.