forked from mirror/openmw-tes3mp
moved path.hpp/path.cpp to a new component
This commit is contained in:
parent
042c179ce7
commit
7131c08ca4
6 changed files with 15 additions and 5 deletions
|
@ -181,6 +181,14 @@ set(MISC_HEADER
|
|||
${COMP_DIR}/misc/stringops.hpp)
|
||||
source_group(components\\misc FILES ${MISC} ${MISC_HEADER})
|
||||
|
||||
set(FILES
|
||||
${COMP_DIR}/files/path.cpp
|
||||
)
|
||||
set(FILES_HEADER
|
||||
${COMP_DIR}/files/path.hpp
|
||||
)
|
||||
source_group(components\\files FILES ${FILES} ${FILES_HEADER})
|
||||
|
||||
file(GLOB COMPILER ${COMP_DIR}/compiler/*.cpp)
|
||||
file(GLOB COMPILER_HEADER ${COMP_DIR}/compiler/*.hpp)
|
||||
source_group(components\\compiler FILES ${COMPILER} ${COMPILER_HEADER})
|
||||
|
@ -190,10 +198,10 @@ file(GLOB INTERPRETER_HEADER ${COMP_DIR}/interpreter/*.hpp)
|
|||
source_group(components\\interpreter FILES ${INTERPRETER} ${INTERPRETER_HEADER})
|
||||
|
||||
set(COMPONENTS ${BSA} ${NIF} ${NIFOGRE} ${ESM_STORE} ${MISC} ${TO_UTF8}
|
||||
${COMPILER} ${INTERPRETER} ${ESM} ${FILE_FINDER} ${NIFBULLET})
|
||||
${COMPILER} ${INTERPRETER} ${ESM} ${FILE_FINDER} ${NIFBULLET} ${FILES})
|
||||
set(COMPONENTS_HEADER ${BSA_HEADER} ${NIF_HEADER} ${NIFOGRE_HEADER} ${ESM_STORE_HEADER}
|
||||
${ESM_HEADER} ${MISC_HEADER} ${COMPILER_HEADER} ${TO_UTF8_HEADER}
|
||||
${INTERPRETER_HEADER} ${FILE_FINDER_HEADER} ${NIFBULLET_HEADER})
|
||||
${INTERPRETER_HEADER} ${FILE_FINDER_HEADER} ${NIFBULLET_HEADER} ${FILES_HEADER})
|
||||
|
||||
# source directory: libs
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ project(OpenMW)
|
|||
set(GAME
|
||||
main.cpp
|
||||
engine.cpp
|
||||
path.cpp)
|
||||
)
|
||||
set(GAME_HEADER
|
||||
engine.hpp)
|
||||
source_group(game FILES ${GAME} ${GAME_HEADER})
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
#include <components/bsa/bsa_archive.hpp>
|
||||
#include <components/esm/loadregn.hpp>
|
||||
#include <components/esm/esm_reader.hpp>
|
||||
#include <components/files/path.hpp>
|
||||
|
||||
#include <openengine/gui/manager.hpp>
|
||||
#include "mwgui/window_manager.hpp"
|
||||
|
||||
|
@ -47,7 +49,6 @@
|
|||
|
||||
#include <MyGUI_WidgetManager.h>
|
||||
#include "mwgui/class.hpp"
|
||||
#include "path.hpp"
|
||||
|
||||
#include "components/nifbullet/bullet_nif_loader.hpp"
|
||||
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
#include <boost/program_options.hpp>
|
||||
|
||||
#include <components/misc/fileops.hpp>
|
||||
#include <components/files/path.hpp>
|
||||
|
||||
#include "engine.hpp"
|
||||
#include "path.hpp"
|
||||
|
||||
#if defined(_WIN32) && !defined(_CONSOLE)
|
||||
#include <boost/iostreams/concepts.hpp>
|
||||
|
|
Loading…
Reference in a new issue