-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* develop: (105 commits) Add latest Ponder, 3.1, as submodule. Move Ponder to submodule. First delete. Fix warning. Fix typo in util/CMakeLists.txt Add option to support SFML 2.5 on Windows, second attempt Fix duplicate definition. Fix warnings Update Ponder to V3.0.0 Fix flags. Mention Ponder #30, bump version to 1.0. Fix null sample. Update gitignore Add Irrlicht, help. Remove brackets from macro with no args. git subrepo pull deps/ponder Fixes Renaming Ensure Ponder is statically linked. Fix Windows min/max macros. - Why?!! Fix MSVC compilation. - Please make sure you have the latest MSVC for bugfixes in C++1y ... # Conflicts: # CHANGELOG.md # cmake/Config.cmake
- Loading branch information
Showing
195 changed files
with
7,897 additions
and
1,112 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
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,3 @@ | ||
[submodule "deps/ponder"] | ||
path = deps/ponder | ||
url = https://github.com/billyquith/ponder.git |
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 |
---|---|---|
|
@@ -513,3 +513,6 @@ bool Direct2D::EndContext(Gwk::WindowProvider* window) | |
|
||
} | ||
} | ||
|
||
} // namespace Renderer | ||
} // namespace Gwk |
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,74 @@ | ||
#!/usr/bin/env bash | ||
# Prepare the build files for Travis to build | ||
# args: <C++ compiler> "<want opts>" | ||
|
||
set -ev | ||
|
||
uname -a | ||
env | ||
|
||
BUILD_OS=$TRAVIS_OS_NAME | ||
WITH_OPTS="-DWITH_TESTS=ON -DWITH_SAMPLE=ON -DRENDER_NULL=ON $FEATURES" | ||
RENDER_SAMPLE=GworkNullSample | ||
|
||
cmake --version | ||
echo "Using C++ compiler: CXX=$CXX, CC=$CC" | ||
echo "Options for cmake generation: $WITH_OPTS" | ||
|
||
|
||
function prepare_osx | ||
{ | ||
mkdir build | ||
pushd build | ||
cmake .. -GXcode $WITH_OPTS | ||
popd | ||
} | ||
|
||
function prepare_linux | ||
{ | ||
mkdir build | ||
pushd build | ||
# Travis doesn't pass on the COMPILER version so we'll use env CXX variable | ||
local ccmd="cmake .. -G \"Unix Makefiles\" $WITH_OPTS" | ||
echo "$ccmd" | ||
eval "$ccmd" | ||
popd | ||
} | ||
|
||
|
||
function build # (config) | ||
{ | ||
echo "==== Building config $1 ====" | ||
pushd build | ||
cmake --build . --target $RENDER_SAMPLE --config $1 | ||
popd | ||
} | ||
|
||
function test_osx # (config) | ||
{ | ||
# OSX outputs to bin/CONFIG | ||
pushd bin/$1 | ||
./$RENDER_SAMPLE.app/Contents/MacOS/$RENDER_SAMPLE | ||
popd | ||
} | ||
|
||
function test_linux # (config) | ||
{ | ||
# All Linux configs output to bin/ | ||
pwd | ||
ls | ||
pushd bin | ||
./$RENDER_SAMPLE | ||
popd | ||
} | ||
|
||
function build_and_test # (config) | ||
{ | ||
build $1 | ||
test_$BUILD_OS $1 | ||
} | ||
|
||
prepare_$BUILD_OS "$@" | ||
|
||
build_and_test Debug | ||
build_and_test Release |
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 |
---|---|---|
|
@@ -5,17 +5,69 @@ set -ev | |
|
||
echo "Lang:$LANG, OS:$TRAVIS_OS_NAME, CC:$CC" | ||
|
||
function install_osx { | ||
brew update | ||
if [[ -z `brew list | grep doxygen` ]]; then brew install doxygen; fi | ||
if [[ -z `brew list | grep cmake` ]]; then brew install cmake; fi | ||
brew outdated cmake || brew upgrade cmake | ||
|
||
function install_ponder | ||
{ | ||
git clone --depth=3 https://github.com/billyquith/ponder.git | ||
cd ponder | ||
mkdir build && cd build | ||
cmake .. -G "Unix Makefiles" | ||
cmake --build . --target install | ||
cd ../.. | ||
} | ||
|
||
function install_lua53 | ||
{ | ||
# https://www.lua.org/download.html | ||
curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz | ||
tar zxf lua-5.3.4.tar.gz | ||
cd lua-5.3.4 | ||
|
||
# From Lua makefile: Convenience platforms targets. | ||
# PLATS= aix bsd c89 freebsd generic linux macosx mingw posix solaris | ||
|
||
make $1 test | ||
make install | ||
} | ||
|
||
function install_linux { | ||
|
||
# $1 - "+what +we +want" | ||
function setup_osx | ||
{ | ||
echo "Requested: $1" | ||
|
||
# if [[ -z `brew list --versions cmake` ]]; then | ||
# brew install cmake | ||
# else | ||
# # Update cmake to latest version (will also update brew) | ||
# brew outdated cmake || brew upgrade cmake | ||
# fi | ||
# | ||
# if [[ -z `echo $1 | grep "+doxygen"` ]]; then | ||
# if [[ -z `brew list --versions doxygen` ]]; then | ||
# brew install doxygen | ||
# fi | ||
# fi | ||
|
||
if [[ -z `echo $1 | grep "+lua"` ]]; then | ||
#brew install [email protected] | ||
install_lua53 macosx | ||
fi | ||
|
||
if [[ -z `echo $1 | grep "+ponder"` ]]; then | ||
install_ponder | ||
fi | ||
} | ||
|
||
function setup_linux | ||
{ | ||
# sudo apt-get -qq update | ||
# sudo apt-get install -y cmake doxygen | ||
echo "See .travis.yml for packages/addons install/update" | ||
|
||
if [[ -z `echo $1 | grep "+lua"` ]]; then | ||
install_lua53 linux | ||
fi | ||
} | ||
|
||
install_$TRAVIS_OS_NAME | ||
setup_$TRAVIS_OS_NAME "$@" |
Oops, something went wrong.