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)
|
${COMP_DIR}/misc/stringops.hpp)
|
||||||
source_group(components\\misc FILES ${MISC} ${MISC_HEADER})
|
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 ${COMP_DIR}/compiler/*.cpp)
|
||||||
file(GLOB COMPILER_HEADER ${COMP_DIR}/compiler/*.hpp)
|
file(GLOB COMPILER_HEADER ${COMP_DIR}/compiler/*.hpp)
|
||||||
source_group(components\\compiler FILES ${COMPILER} ${COMPILER_HEADER})
|
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})
|
source_group(components\\interpreter FILES ${INTERPRETER} ${INTERPRETER_HEADER})
|
||||||
|
|
||||||
set(COMPONENTS ${BSA} ${NIF} ${NIFOGRE} ${ESM_STORE} ${MISC} ${TO_UTF8}
|
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}
|
set(COMPONENTS_HEADER ${BSA_HEADER} ${NIF_HEADER} ${NIFOGRE_HEADER} ${ESM_STORE_HEADER}
|
||||||
${ESM_HEADER} ${MISC_HEADER} ${COMPILER_HEADER} ${TO_UTF8_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
|
# source directory: libs
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ project(OpenMW)
|
||||||
set(GAME
|
set(GAME
|
||||||
main.cpp
|
main.cpp
|
||||||
engine.cpp
|
engine.cpp
|
||||||
path.cpp)
|
)
|
||||||
set(GAME_HEADER
|
set(GAME_HEADER
|
||||||
engine.hpp)
|
engine.hpp)
|
||||||
source_group(game FILES ${GAME} ${GAME_HEADER})
|
source_group(game FILES ${GAME} ${GAME_HEADER})
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
#include <components/bsa/bsa_archive.hpp>
|
#include <components/bsa/bsa_archive.hpp>
|
||||||
#include <components/esm/loadregn.hpp>
|
#include <components/esm/loadregn.hpp>
|
||||||
#include <components/esm/esm_reader.hpp>
|
#include <components/esm/esm_reader.hpp>
|
||||||
|
#include <components/files/path.hpp>
|
||||||
|
|
||||||
#include <openengine/gui/manager.hpp>
|
#include <openengine/gui/manager.hpp>
|
||||||
#include "mwgui/window_manager.hpp"
|
#include "mwgui/window_manager.hpp"
|
||||||
|
|
||||||
|
@ -47,7 +49,6 @@
|
||||||
|
|
||||||
#include <MyGUI_WidgetManager.h>
|
#include <MyGUI_WidgetManager.h>
|
||||||
#include "mwgui/class.hpp"
|
#include "mwgui/class.hpp"
|
||||||
#include "path.hpp"
|
|
||||||
|
|
||||||
#include "components/nifbullet/bullet_nif_loader.hpp"
|
#include "components/nifbullet/bullet_nif_loader.hpp"
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,9 @@
|
||||||
#include <boost/program_options.hpp>
|
#include <boost/program_options.hpp>
|
||||||
|
|
||||||
#include <components/misc/fileops.hpp>
|
#include <components/misc/fileops.hpp>
|
||||||
|
#include <components/files/path.hpp>
|
||||||
|
|
||||||
#include "engine.hpp"
|
#include "engine.hpp"
|
||||||
#include "path.hpp"
|
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(_CONSOLE)
|
#if defined(_WIN32) && !defined(_CONSOLE)
|
||||||
#include <boost/iostreams/concepts.hpp>
|
#include <boost/iostreams/concepts.hpp>
|
||||||
|
|
Loading…
Reference in a new issue