|
|
|
@ -2,33 +2,33 @@ project(OpenMW)
|
|
|
|
|
|
|
|
|
|
# local files
|
|
|
|
|
|
|
|
|
|
set(GAME
|
|
|
|
|
set(GAME
|
|
|
|
|
main.cpp
|
|
|
|
|
engine.cpp)
|
|
|
|
|
set(GAME_HEADER
|
|
|
|
|
set(GAME_HEADER
|
|
|
|
|
engine.hpp)
|
|
|
|
|
source_group(game FILES ${GAME} ${GAME_HEADER})
|
|
|
|
|
|
|
|
|
|
set(GAMEREND
|
|
|
|
|
set(GAMEREND
|
|
|
|
|
mwrender/mwscene.cpp
|
|
|
|
|
mwrender/cellimp.cpp
|
|
|
|
|
mwrender/interior.cpp
|
|
|
|
|
mwrender/sky.cpp)
|
|
|
|
|
set(GAMEREND_HEADER
|
|
|
|
|
set(GAMEREND_HEADER
|
|
|
|
|
mwrender/cell.hpp
|
|
|
|
|
mwrender/cellimp.hpp
|
|
|
|
|
mwrender/mwscene.hpp
|
|
|
|
|
mwrender/interior.hpp
|
|
|
|
|
mwrender/playerpos.hpp
|
|
|
|
|
mwrender/sky.hpp)
|
|
|
|
|
source_group(apps\\openmw\\mwrender FILES ${GAMEREND} ${GAMEREND_HEADER})
|
|
|
|
|
source_group(apps\\openmw\\mwrender FILES ${GAMEREND} ${GAMEREND_HEADER})
|
|
|
|
|
|
|
|
|
|
set(GAMEINPUT
|
|
|
|
|
mwinput/inputmanager.cpp
|
|
|
|
|
)
|
|
|
|
|
set(GAMEINPUT_HEADER
|
|
|
|
|
set(GAMEINPUT_HEADER
|
|
|
|
|
mwinput/inputmanager.hpp)
|
|
|
|
|
source_group(apps\\openmw\\mwinput FILES ${GAMEINPUT} ${GAMEINPUT_HEADER})
|
|
|
|
|
source_group(apps\\openmw\\mwinput FILES ${GAMEINPUT} ${GAMEINPUT_HEADER})
|
|
|
|
|
|
|
|
|
|
set(GAMEGUI_HEADER
|
|
|
|
|
mwgui/mw_layouts.hpp
|
|
|
|
@ -54,7 +54,7 @@ set(GAMESCRIPT
|
|
|
|
|
mwscript/extensions.cpp
|
|
|
|
|
mwscript/globalscripts.cpp
|
|
|
|
|
)
|
|
|
|
|
set(GAMESCRIPT_HEADER
|
|
|
|
|
set(GAMESCRIPT_HEADER
|
|
|
|
|
mwscript/locals.hpp
|
|
|
|
|
mwscript/scriptmanager.hpp
|
|
|
|
|
mwscript/compilercontext.hpp
|
|
|
|
@ -68,35 +68,41 @@ set(GAMESCRIPT_HEADER
|
|
|
|
|
mwscript/extensions.hpp
|
|
|
|
|
mwscript/globalscripts.hpp
|
|
|
|
|
)
|
|
|
|
|
source_group(apps\\openmw\\mwscript FILES ${GAMESCRIPT} ${GAMESCRIPT_HEADER})
|
|
|
|
|
source_group(apps\\openmw\\mwscript FILES ${GAMESCRIPT} ${GAMESCRIPT_HEADER})
|
|
|
|
|
|
|
|
|
|
set(GAMESOUND
|
|
|
|
|
mwsound/soundmanager.cpp)
|
|
|
|
|
set(GAMESOUND_HEADER
|
|
|
|
|
set(GAMESOUND_HEADER
|
|
|
|
|
mwsound/soundmanager.hpp)
|
|
|
|
|
source_group(apps\\openmw\\mwsound FILES ${GAMESOUND} ${GAMESOUND_HEADER})
|
|
|
|
|
source_group(apps\\openmw\\mwsound FILES ${GAMESOUND} ${GAMESOUND_HEADER})
|
|
|
|
|
|
|
|
|
|
set(GAMEWORLD
|
|
|
|
|
mwworld/world.cpp
|
|
|
|
|
mwworld/globals.cpp
|
|
|
|
|
mwworld/class.cpp
|
|
|
|
|
mwworld/classes.cpp
|
|
|
|
|
mwworld/activator.cpp
|
|
|
|
|
)
|
|
|
|
|
set(GAMEWORLD_HEADER
|
|
|
|
|
set(GAMEWORLD_HEADER
|
|
|
|
|
mwworld/refdata.hpp
|
|
|
|
|
mwworld/world.hpp
|
|
|
|
|
mwworld/ptr.hpp
|
|
|
|
|
mwworld/environment.hpp
|
|
|
|
|
mwworld/globals.hpp
|
|
|
|
|
mwworld/class.hpp
|
|
|
|
|
mwworld/classes.hpp
|
|
|
|
|
mwworld/activator.hpp
|
|
|
|
|
)
|
|
|
|
|
source_group(apps\\openmw\\mwworld FILES ${GAMEWORLD} ${GAMEWORLD_HEADER})
|
|
|
|
|
source_group(apps\\openmw\\mwworld FILES ${GAMEWORLD} ${GAMEWORLD_HEADER})
|
|
|
|
|
|
|
|
|
|
set(GAMEMECHANICS
|
|
|
|
|
mwmechanics/mechanicsmanager.cpp)
|
|
|
|
|
set(GAMEMECHANICS_HEADER
|
|
|
|
|
set(GAMEMECHANICS_HEADER
|
|
|
|
|
mwmechanics/mechanicsmanager.hpp
|
|
|
|
|
mwmechanics/stat.hpp
|
|
|
|
|
mwmechanics/creaturestats.hpp
|
|
|
|
|
)
|
|
|
|
|
source_group(apps\\openmw\\mwmechanics FILES ${GAMEMECHANICS} ${GAMEMECHANICS_HEADER})
|
|
|
|
|
source_group(apps\\openmw\\mwmechanics FILES ${GAMEMECHANICS} ${GAMEMECHANICS_HEADER})
|
|
|
|
|
|
|
|
|
|
set(OPENMW_CPP ${GAME} ${GAMEREND} ${GAMEINPUT} ${GAMESCRIPT} ${GAMESOUND} ${GAMEGUI} ${GAMEWORLD}
|
|
|
|
|
${GAMEMECHANICS}
|
|
|
|
|