1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 11:22:45 +01:00

Updated framework2 CMakeLists.txt to include headers

Improves the project view in QtCreator
This commit is contained in:
Daniel Evans 2013-07-21 17:58:03 +01:00
parent 6969759c9b
commit 08377c8e9b

View File

@ -1,24 +1,50 @@
SET(RENDERWARE_SOURCES
# RenderWare related
BinaryStream.cpp
TextureArchive.cpp
LoaderDFF.cpp
TextureLoader.cpp
WeatherLoader.cpp
# Game data related
LoaderCOL.cpp
LoaderIMG.cpp
LoaderIPL.cpp
LoaderIDE.cpp
GTAData.cpp
GTAEngine.cpp
# Rendering
GTARenderer.cpp
DebugDraw.cpp
)
SET(RENDERWARE_HEADERS
include/renderwure/BinaryStream.hpp
include/renderwure/TextureArchive.hpp
include/renderwure/loaders/LoaderDFF.hpp
include/renderwure/loaders/TextureLoader.hpp
include/renderwure/loaders/WeatherLoader.hpp
include/renderwure/loaders/LoaderCOL.hpp
include/renderwure/loaders/LoaderIMG.hpp
include/renderwure/loaders/LoaderIPL.hpp
include/renderwure/loaders/LoaderIDE.hpp
include/renderwure/engine/GTAData.hpp
include/renderwure/engine/GTAEngine.hpp
include/renderwure/engine/GTATypes.hpp
include/renderwure/render/GTARenderer.hpp
include/renderwure/render/DebugDraw.hpp
include/renderwure/render/ViewCamera.hpp
include/renderwure/render/ViewFrustum.hpp
)
add_library(renderware
# RenderWare related
BinaryStream.cpp
TextureArchive.cpp
LoaderDFF.cpp
TextureLoader.cpp
WeatherLoader.cpp
# Game data related
LoaderCOL.cpp
LoaderIMG.cpp
LoaderIPL.cpp
LoaderIDE.cpp
GTAData.cpp
GTAEngine.cpp
# Rendering
GTARenderer.cpp
DebugDraw.cpp
${RENDERWARE_SOURCES}
${RENDERWARE_HEADERS}
)
target_link_libraries(renderware sfml-window)