Ajout de common.pri

This commit is contained in:
Michaël Lemaire 2013-11-09 18:56:56 +01:00
parent e9751a0e0b
commit a48213453a
9 changed files with 18 additions and 4 deletions

View file

@ -11,6 +11,8 @@ TEMPLATE = lib
DEFINES += BASICS_LIBRARY
include(../common.pri)
SOURCES += \
NoiseGenerator.cpp \
NoiseFunctionNaive.cpp \

4
src/common.pri Normal file
View file

@ -0,0 +1,4 @@
#QMAKE_CXXFLAGS = -std=c++11 -stdlib=libc++
#QMAKE_LFLAGS = -std=c++11 -stdlib=libc++
CONFIG(release, debug|release): DEFINES += NDEBUG

View file

@ -6,7 +6,7 @@ TARGET = paysages-cli
INCLUDEPATH += $$PWD/..
CONFIG(release, debug|release): DEFINES += NDEBUG
include(../common.pri)
SOURCES += \
main.cpp

View file

@ -11,6 +11,8 @@ TEMPLATE = lib
DEFINES += DEFINITION_LIBRARY
include(../common.pri)
SOURCES += \
BaseDefinition.cpp \
Layers.cpp \

View file

@ -7,7 +7,7 @@ TARGET = paysages-gui
unix:LIBS += -lGLU
CONFIG(release, debug|release): DEFINES += NDEBUG
include(../common.pri)
INCLUDEPATH += $$PWD/..

View file

@ -11,6 +11,8 @@ TEMPLATE = lib
DEFINES += OPENGL_LIBRARY
include(../../common.pri)
SOURCES += \
OpenGLRenderer.cpp \
BaseExplorerChunk.cpp \

View file

@ -11,6 +11,8 @@ TEMPLATE = lib
DEFINES += SOFTWARE_LIBRARY
include(../../common.pri)
SOURCES += SoftwareRenderer.cpp \
global/FluidMediumTraversal.cpp

View file

@ -5,7 +5,8 @@ TEMPLATE = lib
TARGET = paysages_rendering
DEFINES += RENDERING_LIBRARY
CONFIG(release, debug|release): DEFINES += NDEBUG
include(../common.pri)
INCLUDEPATH += $$PWD/..

View file

@ -10,7 +10,8 @@ TEMPLATE = lib
TARGET = paysages_system
DEFINES += SYSTEM_LIBRARY
CONFIG(release, debug|release): DEFINES += NDEBUG
include(../common.pri)
SOURCES += \
PictureFile.cpp \