2013-08-22 21:45:46 +00:00
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += console
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
CONFIG -= qt
|
2013-05-05 13:37:06 +00:00
|
|
|
|
2013-08-22 21:45:46 +00:00
|
|
|
TARGET = paysages_rendering
|
|
|
|
INCLUDEPATH += ..
|
2013-05-05 13:37:06 +00:00
|
|
|
|
2013-08-22 21:45:46 +00:00
|
|
|
CONFIG(debug) {
|
|
|
|
DESTDIR = ../../build/debug/
|
|
|
|
MAKEFILE = Makefile.debug
|
|
|
|
} else {
|
|
|
|
DESTDIR = ../../build/release/
|
|
|
|
MAKEFILE = Makefile.release
|
|
|
|
}
|
|
|
|
|
|
|
|
OBJECTS_DIR = $$DESTDIR/rendering/
|
|
|
|
|
|
|
|
release:DEFINES += NDEBUG
|
2013-05-05 13:37:06 +00:00
|
|
|
|
2013-08-22 21:45:46 +00:00
|
|
|
linux-clang {
|
|
|
|
CONFIG += link_pkgconfig
|
|
|
|
PKGCONFIG += glib-2.0 gthread-2.0 IL ILU
|
|
|
|
}
|
|
|
|
DEFINES += HAVE_GLIB=1
|
2013-05-05 13:37:06 +00:00
|
|
|
|
2013-08-22 21:45:46 +00:00
|
|
|
SOURCES += main.c \
|
2013-05-05 13:37:06 +00:00
|
|
|
zone.c \
|
|
|
|
tools.c \
|
|
|
|
system.c \
|
|
|
|
scenery.c \
|
|
|
|
renderer.c \
|
|
|
|
render.c \
|
|
|
|
opencl.c \
|
|
|
|
noisesimplex.c \
|
|
|
|
noiseperlin.c \
|
|
|
|
noisenaive.c \
|
|
|
|
noise.c \
|
|
|
|
layers.c \
|
|
|
|
geoarea.c \
|
|
|
|
camera.c \
|
|
|
|
atmosphere/atm_render.c \
|
|
|
|
atmosphere/atm_raster.c \
|
|
|
|
atmosphere/atm_preview.c \
|
|
|
|
atmosphere/atm_presets.c \
|
|
|
|
atmosphere/atm_definition.c \
|
|
|
|
atmosphere/atm_bruneton.c \
|
2013-08-22 21:45:46 +00:00
|
|
|
clouds/clo_walking.c \
|
2013-05-05 13:37:06 +00:00
|
|
|
clouds/clo_rendering.c \
|
|
|
|
clouds/clo_preview.c \
|
|
|
|
clouds/clo_presets.c \
|
2013-08-22 21:45:46 +00:00
|
|
|
clouds/clo_density.c \
|
2013-05-05 13:37:06 +00:00
|
|
|
clouds/clo_definition.c \
|
|
|
|
shared/preview.c \
|
2013-08-22 21:45:46 +00:00
|
|
|
terrain/ter_render.c \
|
2013-05-05 13:37:06 +00:00
|
|
|
terrain/ter_raster.c \
|
|
|
|
terrain/ter_preview.c \
|
|
|
|
terrain/ter_presets.c \
|
|
|
|
terrain/ter_painting.c \
|
|
|
|
terrain/ter_definition.c \
|
|
|
|
textures/tex_tools.c \
|
|
|
|
textures/tex_rendering.c \
|
|
|
|
textures/tex_preview.c \
|
|
|
|
textures/tex_presets.c \
|
|
|
|
textures/tex_definition.c \
|
|
|
|
tools/texture.c \
|
|
|
|
tools/parallel.c \
|
|
|
|
tools/pack.c \
|
|
|
|
tools/memory.c \
|
|
|
|
tools/lighting.c \
|
|
|
|
tools/euclid.c \
|
2013-08-22 21:45:46 +00:00
|
|
|
tools/data.c \
|
2013-05-05 13:37:06 +00:00
|
|
|
tools/curve.c \
|
|
|
|
tools/color.c \
|
|
|
|
tools/cache.c \
|
2013-08-22 21:45:46 +00:00
|
|
|
tools/boundingbox.c \
|
2013-05-05 13:37:06 +00:00
|
|
|
tools/array.c \
|
|
|
|
water/wat_render.c \
|
|
|
|
water/wat_raster.c \
|
|
|
|
water/wat_preview.c \
|
|
|
|
water/wat_presets.c \
|
|
|
|
water/wat_definition.c
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
zone.h \
|
|
|
|
tools.h \
|
|
|
|
system.h \
|
|
|
|
scenery.h \
|
|
|
|
renderer.h \
|
|
|
|
render.h \
|
|
|
|
opencl.h \
|
|
|
|
noisesimplex.h \
|
|
|
|
noiseperlin.h \
|
|
|
|
noisenaive.h \
|
|
|
|
noise.h \
|
|
|
|
main.h \
|
|
|
|
layers.h \
|
|
|
|
geoarea.h \
|
|
|
|
camera.h \
|
|
|
|
atmosphere/public.h \
|
|
|
|
atmosphere/private.h \
|
|
|
|
clouds/public.h \
|
|
|
|
clouds/private.h \
|
2013-08-22 21:45:46 +00:00
|
|
|
clouds/clo_walking.h \
|
|
|
|
clouds/clo_preview.h \
|
|
|
|
clouds/clo_density.h \
|
2013-05-05 13:37:06 +00:00
|
|
|
shared/types.h \
|
|
|
|
shared/preview.h \
|
2013-08-22 21:45:46 +00:00
|
|
|
terrain/ter_raster.h \
|
2013-05-05 13:37:06 +00:00
|
|
|
terrain/public.h \
|
|
|
|
terrain/private.h \
|
2013-08-22 21:45:46 +00:00
|
|
|
textures/tex_preview.h \
|
2013-05-05 13:37:06 +00:00
|
|
|
textures/public.h \
|
|
|
|
textures/private.h \
|
|
|
|
tools/texture.h \
|
|
|
|
tools/parallel.h \
|
|
|
|
tools/pack.h \
|
|
|
|
tools/memory.h \
|
|
|
|
tools/lighting.h \
|
|
|
|
tools/euclid.h \
|
2013-08-22 21:45:46 +00:00
|
|
|
tools/data.h \
|
2013-05-05 13:37:06 +00:00
|
|
|
tools/curve.h \
|
|
|
|
tools/color.h \
|
|
|
|
tools/cache.h \
|
2013-08-22 21:45:46 +00:00
|
|
|
tools/boundingbox.h \
|
2013-05-05 13:37:06 +00:00
|
|
|
tools/array.h \
|
|
|
|
water/public.h \
|
|
|
|
water/private.h
|
|
|
|
|