linux-wallpaperengine/CMakeLists.txt
Alexis Maiquez c2bc23414e + Added string to integer color conversion
+ Added partial parsing of particles
+ Support for particle emitter parsing
+ Support for particle initializers parsing
+ Support for particle controlpoints parsing

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2019-08-14 16:55:15 +02:00

108 lines
4.4 KiB
CMake

cmake_minimum_required(VERSION 3.0)
project(wallengine)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "-fpermissive")
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
set(OpenGL_GL_PREFERENCE "LEGACY")
find_package(X11 REQUIRED)
find_package(OpenGL REQUIRED)
find_package(GLUT REQUIRED)
find_package(ZLIB REQUIRED)
find_package(Irrlicht REQUIRED)
find_package(SDL REQUIRED)
find_package(SDL_mixer REQUIRED)
find_package(LZ4 REQUIRED)
include_directories(${X11_INCLUDE_DIR} ${IRRLICHT_INCLUDE_DIR} ${LZ4_INCLUDE_DIR} ${SDL_INCLUDE_DIRS} ${SDL_MIXER_INCLUDE_DIRS} .)
add_executable(
wallengine
main.cpp
wallpaperengine/shaders/compiler.h
wallpaperengine/shaders/compiler.cpp
wallpaperengine/project.cpp
wallpaperengine/project.h
wallpaperengine/scene.cpp
wallpaperengine/scene.h
wallpaperengine/object.cpp
wallpaperengine/object.h
wallpaperengine/camera.cpp
wallpaperengine/camera.h
wallpaperengine/core.cpp
wallpaperengine/core.h
wallpaperengine/image.cpp
wallpaperengine/image.h
wallpaperengine/object3d.cpp
wallpaperengine/object3d.h
wallpaperengine/effect.cpp
wallpaperengine/effect.h
wallpaperengine/fs/utils.cpp
wallpaperengine/fs/utils.h
wallpaperengine/irrlicht.cpp
wallpaperengine/irrlicht.h
wallpaperengine/video/renderer.cpp
wallpaperengine/video/renderer.h
wallpaperengine/video/node.cpp
wallpaperengine/video/node.h
wallpaperengine/video/material.cpp
wallpaperengine/video/material.h
wallpaperengine/texture.cpp
wallpaperengine/texture.h
wallpaperengine/irr/CImageLoaderTEX.h
wallpaperengine/irr/CImageLoaderTEX.cpp
wallpaperengine/irr/CPkgReader.h
wallpaperengine/irr/CPkgReader.cpp
wallpaperengine/irr/CFileList.h
wallpaperengine/irr/CFileList.cpp
wallpaperengine/sound.cpp
wallpaperengine/sound.h
wallpaperengine/core/project.cpp
wallpaperengine/core/project.h
wallpaperengine/core/scene.cpp
wallpaperengine/core/scene.h
wallpaperengine/core/object.cpp
wallpaperengine/core/object.h
wallpaperengine/core/scenes/camera.cpp
wallpaperengine/core/scenes/camera.h
wallpaperengine/core/scenes/projection.cpp
wallpaperengine/core/scenes/projection.h
wallpaperengine/core/objects/image.cpp
wallpaperengine/core/objects/image.h
wallpaperengine/core/objects/sound.cpp
wallpaperengine/core/objects/sound.h
wallpaperengine/core/objects/effect.cpp
wallpaperengine/core/objects/effect.h
wallpaperengine/core/objects/particles/particle.cpp
wallpaperengine/core/objects/particles/particle.h
wallpaperengine/core/objects/particles/controlpoint.cpp
wallpaperengine/core/objects/particles/controlpoint.h
wallpaperengine/core/objects/particles/emitter.cpp
wallpaperengine/core/objects/particles/emitter.h
wallpaperengine/core/objects/particles/initializer.cpp
wallpaperengine/core/objects/particles/initializer.h
wallpaperengine/core/objects/particles/initializers/lifetimerandom.cpp
wallpaperengine/core/objects/particles/initializers/lifetimerandom.h
wallpaperengine/core/objects/particles/initializers/sizerandom.cpp
wallpaperengine/core/objects/particles/initializers/sizerandom.h
wallpaperengine/core/objects/particles/initializers/rotationrandom.cpp
wallpaperengine/core/objects/particles/initializers/rotationrandom.h
wallpaperengine/core/objects/particles/initializers/velocityrandom.cpp
wallpaperengine/core/objects/particles/initializers/velocityrandom.h
wallpaperengine/core/objects/particles/initializers/colorrandom.cpp
wallpaperengine/core/objects/particles/initializers/colorrandom.h
wallpaperengine/core/objects/images/material.cpp
wallpaperengine/core/objects/images/material.h
wallpaperengine/core/objects/images/materials/passes.cpp
wallpaperengine/core/objects/images/materials/passes.h
)
target_link_libraries(wallengine ${X11_LIBRARIES} ${X11_Xxf86vm_LIB} ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES} ${ZLIB_LIBRARIES} ${IRRLICHT_LIBRARY} ${LZ4_LIBRARY} ${SDL_LIBRARY} ${SDL_MIXER_LIBRARIES})