mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 10:22:52 +01:00
cmake: add all files to cmake
This commit is contained in:
parent
089b49b77a
commit
2d595bede7
@ -41,8 +41,10 @@ set(RWENGINE_SOURCES
|
||||
src/data/PathData.hpp
|
||||
src/data/PedData.cpp
|
||||
src/data/PedData.hpp
|
||||
src/data/VehicleGenerator.hpp
|
||||
src/data/WeaponData.hpp
|
||||
src/data/Weather.cpp
|
||||
src/data/Weather.hpp
|
||||
src/data/ZoneData.hpp
|
||||
|
||||
src/dynamics/CollisionInstance.cpp
|
||||
@ -53,6 +55,7 @@ set(RWENGINE_SOURCES
|
||||
src/engine/Animator.hpp
|
||||
src/engine/GameData.cpp
|
||||
src/engine/GameData.hpp
|
||||
src/engine/GameInputState.hpp
|
||||
src/engine/GameState.cpp
|
||||
src/engine/GameState.hpp
|
||||
src/engine/GameWorld.cpp
|
||||
@ -136,6 +139,7 @@ set(RWENGINE_SOURCES
|
||||
src/script/ScriptTypes.hpp
|
||||
src/script/modules/GTA3Module.cpp
|
||||
src/script/modules/GTA3Module.hpp
|
||||
src/script/modules/GTA3ModuleImpl.inl
|
||||
)
|
||||
|
||||
add_library(rwengine
|
||||
|
@ -8,21 +8,28 @@ set(RWGAME_SOURCES
|
||||
|
||||
GameBase.hpp
|
||||
GameBase.cpp
|
||||
RWGame.hpp
|
||||
RWGame.cpp
|
||||
|
||||
GameConfig.hpp
|
||||
GameConfig.cpp
|
||||
GameWindow.hpp
|
||||
GameWindow.cpp
|
||||
|
||||
DrawUI.cpp
|
||||
DrawUI.hpp
|
||||
MenuSystem.hpp
|
||||
MenuSystem.cpp
|
||||
GameInput.hpp
|
||||
GameInput.cpp
|
||||
|
||||
game.hpp
|
||||
WindowIcon.hpp
|
||||
|
||||
StateManager.hpp
|
||||
StateManager.cpp
|
||||
State.hpp
|
||||
State.cpp
|
||||
|
||||
MenuSystem.hpp
|
||||
MenuSystem.cpp
|
||||
|
||||
GameInput.hpp
|
||||
GameInput.cpp
|
||||
|
||||
states/LoadingState.hpp
|
||||
states/LoadingState.cpp
|
||||
states/IngameState.hpp
|
||||
@ -36,7 +43,6 @@ set(RWGAME_SOURCES
|
||||
states/BenchmarkState.hpp
|
||||
states/BenchmarkState.cpp
|
||||
|
||||
DrawUI.cpp
|
||||
)
|
||||
|
||||
add_executable(rwgame
|
||||
|
@ -9,15 +9,20 @@ add_executable(rwviewer
|
||||
|
||||
ViewerWindow.hpp
|
||||
ViewerWindow.cpp
|
||||
|
||||
|
||||
models/AnimationListModel.hpp
|
||||
models/AnimationListModel.cpp
|
||||
models/ObjectListModel.hpp
|
||||
models/ObjectListModel.cpp
|
||||
models/DFFFramesTreeModel.hpp
|
||||
models/DFFFramesTreeModel.cpp
|
||||
models/IMGArchiveModel.hpp
|
||||
models/IMGArchiveModel.cpp
|
||||
models/ItemListModel.hpp
|
||||
models/ItemListModel.cpp
|
||||
models/TextModel.hpp
|
||||
models/TextModel.cpp
|
||||
|
||||
views/ViewerInterface.hpp
|
||||
views/ObjectViewer.hpp
|
||||
views/ObjectViewer.cpp
|
||||
views/ModelViewer.hpp
|
||||
@ -28,23 +33,18 @@ add_executable(rwviewer
|
||||
views/WorldViewer.cpp
|
||||
views/ViewerInterface.hpp
|
||||
views/ViewerInterface.cpp
|
||||
|
||||
ViewerWidget.cpp
|
||||
|
||||
QOpenGLContextWrapper.hpp
|
||||
QOpenGLContextWrapper.cpp
|
||||
ViewerWidget.hpp
|
||||
ItemListModel.hpp
|
||||
ItemListModel.cpp
|
||||
ItemListWidget.hpp
|
||||
ItemListWidget.cpp
|
||||
IMGArchiveModel.hpp
|
||||
IMGArchiveModel.cpp
|
||||
ViewerWidget.cpp
|
||||
|
||||
widgets/AnimationListWidget.hpp
|
||||
widgets/AnimationListWidget.cpp
|
||||
widgets/ItemListWidget.hpp
|
||||
widgets/ItemListWidget.cpp
|
||||
widgets/ModelFramesWidget.hpp
|
||||
widgets/ModelFramesWidget.cpp
|
||||
AnimationListModel.hpp
|
||||
AnimationListModel.cpp
|
||||
AnimationListWidget.hpp
|
||||
AnimationListWidget.cpp
|
||||
QOpenGLContextWrapper.cpp
|
||||
QOpenGLContextWrapper.hpp
|
||||
)
|
||||
|
||||
target_link_libraries(rwviewer
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <QLineEdit>
|
||||
#include <QListView>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include "AnimationListModel.hpp"
|
||||
#include "models/AnimationListModel.hpp"
|
||||
|
||||
class AnimationListWidget : public QDockWidget {
|
||||
Q_OBJECT
|
@ -5,7 +5,7 @@
|
||||
#include <QLineEdit>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QTableView>
|
||||
#include "ItemListModel.hpp"
|
||||
#include "models/ItemListModel.hpp"
|
||||
|
||||
class ItemListWidget : public QDockWidget {
|
||||
Q_OBJECT
|
Loading…
Reference in New Issue
Block a user