Skip to content

Commit

Permalink
Build instructions more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
wivlaro committed Jun 15, 2014
1 parent eff3355 commit 965d8ce
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,12 @@ You will also need to manually build the "glext" and "wglext" projects.
To generate and build Debug and Release builds with Unix Makefiles
perform the following steps in the Polycode directory from a terminal:

cd Dependencies
mkdir Build
cd Build
mkdir Debug
cd Debug
mkdir -p Dependencies/Build/Debug
cd Dependencies/Build/Debug
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../..
make
cd ..
mkdir Release
cd Release
mkdir ../Release
cd ../Release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../..
make

Expand Down Expand Up @@ -162,16 +158,13 @@ before doing this as they are not automatically installed by the
Dependencies project above. You can get SDL from http://www.libsdl.org
or using the package manager of your distribution.

mkdir Build
cd Build
mkdir Debug
cd Debug
mkdir -p Build/Debug
cd Build/Debug
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../..
make
make install
cd ..
mkdir Release
cd Release
mkdir ../Release
cd ../Release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../..
make
make install
Expand Down

0 comments on commit 965d8ce

Please sign in to comment.