mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
(cherry picked from commit 8c810e36203b93780cae198a3f7e2fb33ee54b5d) # Conflicts: # apps/openmw/engine.cpp # apps/openmw/mwclass/npc.cpp # components/misc/rng.cpp # components/sceneutil/lightcontroller.cpp # libs/openengine/CMakeLists.txt
34 lines
669 B
CMake
34 lines
669 B
CMake
set(OENGINE_OGRE
|
|
ogre/renderer.cpp
|
|
ogre/lights.cpp
|
|
ogre/selectionbuffer.cpp
|
|
)
|
|
|
|
set(OENGINE_GUI
|
|
gui/loglistener.cpp
|
|
gui/manager.cpp
|
|
gui/layout.cpp
|
|
)
|
|
|
|
set(OENGINE_BULLET
|
|
bullet/BtOgre.cpp
|
|
bullet/BtOgreExtras.h
|
|
bullet/BtOgreGP.h
|
|
bullet/BtOgrePG.h
|
|
bullet/physic.cpp
|
|
bullet/physic.hpp
|
|
bullet/BulletShapeLoader.cpp
|
|
bullet/BulletShapeLoader.h
|
|
bullet/trace.cpp
|
|
bullet/trace.h
|
|
)
|
|
|
|
set(OENGINE_ALL ${OENGINE_GUI} ${OENGINE_BULLET})
|
|
|
|
set(OENGINE_LIBRARY "oengine")
|
|
set(OENGINE_LIBRARY ${OENGINE_LIBRARY} PARENT_SCOPE)
|
|
|
|
source_group(oengine FILES ${OENGINE_ALL})
|
|
|
|
add_library(${OENGINE_LIBRARY} STATIC ${OENGINE_ALL})
|