Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/libraries/source/nvtt/src/configure
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | then | ||||
echo "--lib=path Library path." | echo "--lib=path Library path." | ||||
exit 0 | exit 0 | ||||
fi | fi | ||||
echo "-- Configuring nvidia-texture-tools "`cat VERSION` | echo "-- Configuring nvidia-texture-tools "`cat VERSION` | ||||
mkdir -p ./build-$build | mkdir -p ./build-$build | ||||
cd ./build-$build | cd ./build-$build | ||||
$CMAKE .. -DNVTT_SHARED=0 -DCMAKE_BUILD_TYPE=$build -DCMAKE_INSTALL_PREFIX=$prefix -G "Unix Makefiles" || exit 1 | $CMAKE .. -DNVTT_SHARED=0 -DOpenGL_GL_PREFERENCE=GLVND -DCMAKE_BUILD_TYPE=$build -DCMAKE_INSTALL_PREFIX=$prefix -G "Unix Makefiles" || exit 1 | ||||
cd .. | cd .. | ||||
echo "" | echo "" | ||||
echo -e "Your configure completed "$GREEN"successfully"$NORMAL", now type "$BOLD"make"$NORMAL | echo -e "Your configure completed "$GREEN"successfully"$NORMAL", now type "$BOLD"make"$NORMAL | ||||
echo "" | echo "" | ||||
cat > Makefile << EOF | cat > Makefile << EOF | ||||
all: | all: | ||||
Show All 12 Lines |
Wildfire Games · Phabricator