Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3dddb55ba7
Fetching contributors…

Cannot retrieve contributors at this time

114 lines (97 sloc) 4.284 kb
# ---------------------------------------------------------------------------
# This .pro file was generated by CGLX
# (It should help you to get started with CGLX programming)
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# >> INSTRUCTIONS <<
#
# ! If you want to create a Makefile for your OS type in:
# > "qmake"
# > and the compile with "make" or "gmake"
#
# This will compile the simple program "t0". Your task would be to change
# the HEADER and SOURCE file to the once you want to use.
# It does not get any easier.
# ! If you remove the DEF_USE_CGLX define you will get a normal GLUT program
#
# >> TROUBLESHOOT <<
#
# ! If "qmake" is not found on your system, check where QT is installed and
# add the QT-bin directory to your PATH environment. Try again :-).
# It may also help if you read the documentation of qmake, to expand this
# .pro file according to your needs.
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# some basic configurations
# ---------------------------------------------------------------------------
TARGET = simplePhotos
PROJECT = TUTORIAL
VERSION = 1
TEMPLATE = app
LANGUAGE = C++
CONFIG += warn_off release
DEFINES += DEF_USE_CGLX
# ---------------------------------------------------------------------------
# common settings
# ---------------------------------------------------------------------------
DESTDIR = ./
OBJECTS_DIR = .obj
# ---------------------------------------------------------------------------
# The sources
# ---------------------------------------------------------------------------
HEADERS += bmp.h overlay.h overlay_manager.h tile.h main.h
SOURCES += bmp.cpp overlay.cpp overlay_manager.cpp tile.cpp main.cpp
# ---------------------------------------------------------------------------
# linux
# -g++
# ---------------------------------------------------------------------------
linux-g++ {
QT -= gui core
LIBS += -L/usr/local/lib -L/usr/lib -L../../cglXlib/lib/ -lgd -lGLEW -lcglX -ltiff
INCLUDEPATH += /usr/local/include/ /usr/include/GL ../../cglXlib/include /usr/include/freetype2
# install binary
target.path = $${BIN_DIR}
# "make install" configuration options
INSTALLS += target
# clean it
CLEAN_FILES = ./$${TARGET}
}
# ---------------------------------------------------------------------------
# linux
# -g++-64
# ---------------------------------------------------------------------------
linux-g++-64 {
QT -= gui core
LIBS += -L/usr/local/lib64 -L/usr/local/lib -L/usr/lib64 -L../../cglXlib/lib/ -lgd -lGLEW -lcglX -ltiff -ljson_libmt
INCLUDEPATH += /usr/local/include /usr/include/GL ../../cglXlib/include /usr/include/freetype2
# install binary
target.path = $${BIN_DIR}
# "make install" configuration options
INSTALLS += target
# clean it
CLEAN_FILES = ./$${TARGET}
}
# ---------------------------------------------------------------------------
# MAC OS Native AGL
# -g++
# ---------------------------------------------------------------------------
macx-g++{
QT =
LIBS += -framework cglX -lpthread -framework Carbon -framework AGL -framework OpenGL
# clean it
CLEAN_FILES = -rf ./$${DESTDIR}$${TARGET}.app
}
# ---------------------------------------------------------------------------
# MAC OS Native AGL
# -macx-xcode
# ---------------------------------------------------------------------------
macx-xcode{
QT =
LIBS += -framework cglX -lpthread -framework Carbon -framework AGL -framework OpenGL
# clean it
CLEAN_FILES = -rf ./$${DESTDIR}$${TARGET}.app
}
# ---------------------------------------------------------------------------
# CLEAN UP THE REST THAT IS COMMON
# ---------------------------------------------------------------------------
CLEAN_FILES += ./*~ $${OBJECTS_DIR}/* ./Makefile
Jump to Line
Something went wrong with that request. Please try again.