Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (14 sloc) 0.306 kb
#!/bin/bash
GEN='CodeBlocks - Unix Makefiles'
if [ "$1" = "examples" ]; then
echo Building example projects
BUILDDIR=buildex
EXAMPLES='-DBUILD_EXAMPLES:BOOL=YES'
else
echo Building projects
BUILDDIR=build
fi
mkdir -p "$BUILDDIR"
pushd "$BUILDDIR"
cmake -G "$GEN" "$EXAMPLES" ..
popd
Jump to Line
Something went wrong with that request. Please try again.