Ajout de common.pri
This commit is contained in:
parent
e9751a0e0b
commit
a48213453a
9 changed files with 18 additions and 4 deletions
|
@ -11,6 +11,8 @@ TEMPLATE = lib
|
||||||
|
|
||||||
DEFINES += BASICS_LIBRARY
|
DEFINES += BASICS_LIBRARY
|
||||||
|
|
||||||
|
include(../common.pri)
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
NoiseGenerator.cpp \
|
NoiseGenerator.cpp \
|
||||||
NoiseFunctionNaive.cpp \
|
NoiseFunctionNaive.cpp \
|
||||||
|
|
4
src/common.pri
Normal file
4
src/common.pri
Normal 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
|
||||||
|
|
|
@ -6,7 +6,7 @@ TARGET = paysages-cli
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/..
|
INCLUDEPATH += $$PWD/..
|
||||||
|
|
||||||
CONFIG(release, debug|release): DEFINES += NDEBUG
|
include(../common.pri)
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
main.cpp
|
main.cpp
|
||||||
|
|
|
@ -11,6 +11,8 @@ TEMPLATE = lib
|
||||||
|
|
||||||
DEFINES += DEFINITION_LIBRARY
|
DEFINES += DEFINITION_LIBRARY
|
||||||
|
|
||||||
|
include(../common.pri)
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
BaseDefinition.cpp \
|
BaseDefinition.cpp \
|
||||||
Layers.cpp \
|
Layers.cpp \
|
||||||
|
|
|
@ -7,7 +7,7 @@ TARGET = paysages-gui
|
||||||
|
|
||||||
unix:LIBS += -lGLU
|
unix:LIBS += -lGLU
|
||||||
|
|
||||||
CONFIG(release, debug|release): DEFINES += NDEBUG
|
include(../common.pri)
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/..
|
INCLUDEPATH += $$PWD/..
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,8 @@ TEMPLATE = lib
|
||||||
|
|
||||||
DEFINES += OPENGL_LIBRARY
|
DEFINES += OPENGL_LIBRARY
|
||||||
|
|
||||||
|
include(../../common.pri)
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
OpenGLRenderer.cpp \
|
OpenGLRenderer.cpp \
|
||||||
BaseExplorerChunk.cpp \
|
BaseExplorerChunk.cpp \
|
||||||
|
|
|
@ -11,6 +11,8 @@ TEMPLATE = lib
|
||||||
|
|
||||||
DEFINES += SOFTWARE_LIBRARY
|
DEFINES += SOFTWARE_LIBRARY
|
||||||
|
|
||||||
|
include(../../common.pri)
|
||||||
|
|
||||||
SOURCES += SoftwareRenderer.cpp \
|
SOURCES += SoftwareRenderer.cpp \
|
||||||
global/FluidMediumTraversal.cpp
|
global/FluidMediumTraversal.cpp
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@ TEMPLATE = lib
|
||||||
TARGET = paysages_rendering
|
TARGET = paysages_rendering
|
||||||
|
|
||||||
DEFINES += RENDERING_LIBRARY
|
DEFINES += RENDERING_LIBRARY
|
||||||
CONFIG(release, debug|release): DEFINES += NDEBUG
|
|
||||||
|
include(../common.pri)
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/..
|
INCLUDEPATH += $$PWD/..
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,8 @@ TEMPLATE = lib
|
||||||
TARGET = paysages_system
|
TARGET = paysages_system
|
||||||
|
|
||||||
DEFINES += SYSTEM_LIBRARY
|
DEFINES += SYSTEM_LIBRARY
|
||||||
CONFIG(release, debug|release): DEFINES += NDEBUG
|
|
||||||
|
include(../common.pri)
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
PictureFile.cpp \
|
PictureFile.cpp \
|
||||||
|
|
Loading…
Reference in a new issue