header renames and initial LogVisor integration

This commit is contained in:
Jack Andersen 2015-07-03 20:03:59 -10:00
parent 019f773378
commit 0b492c6e15
21 changed files with 42 additions and 18 deletions

3
hecl/.gitmodules vendored
View File

@ -7,3 +7,6 @@
[submodule "extern/libSquish"]
path = extern/libSquish
url = https://github.com/jackoalan/libSquish.git
[submodule "extern/LogVisor"]
path = extern/LogVisor
url = https://github.com/RetroView/LogVisor.git

View File

@ -3,12 +3,13 @@
#include <string>
#include <vector>
#include <HECLDatabase.hpp>
#include <stdio.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <string.h>
#include "HECL/Database.hpp"
struct ToolPassInfo
{
HECL::SystemString pname;

View File

@ -10,12 +10,13 @@ clang:LIBS += -stdlib=libc++ -lc++abi
INCLUDEPATH += ../include ../extern/Athena/include ../extern
LIBPATH += $$OUT_PWD/../lib \
$$OUT_PWD/../dataspec \
$$OUT_PWD/../blender \
$$OUT_PWD/../extern/LogVisor \
$$OUT_PWD/../extern/RetroCommon/NODLib/lib \
$$OUT_PWD/../extern/blowfish \
$$OUT_PWD/../extern/libpng
LIBS += -lhecl -lhecl-dataspec -lhecl-blender -lblowfish -lpng
LIBS += -lhecl -lhecl-blender -lblowfish -lNOD -lLogVisor -lpng -lpthread
SOURCES += \
$$PWD/main.cpp

View File

@ -5,7 +5,7 @@
#include <regex>
#include <stdexcept>
#include <list>
#include <HECLDatabase.hpp>
#include "HECL/Database.hpp"
#include "ToolBase.hpp"
#include "ToolInit.hpp"

2
hecl/extern/Athena vendored

@ -1 +1 @@
Subproject commit 2b37765effa731d2b38da0fa4578c7be7edccaa5
Subproject commit 6ac88b37f481c762b1cfc532eea2062b730a81b1

1
hecl/extern/LogVisor vendored Submodule

@ -0,0 +1 @@
Subproject commit 33f2f7b279991a7be81310024636f43ecbf5ed24

@ -1 +1 @@
Subproject commit 94d61da80dcc7df398f3e8b2ed0196149906a6b0
Subproject commit a1c1462bfbbf7482fe7944f769f237228b2d2766

View File

@ -10,17 +10,22 @@ exists ($$PWD/llvm) {
DEFINES += HECL_LLVM=1
}
# Make LogVisor headers global
LOGVISOR_INCLUDE = $$PWD/extern/LogVisor/include
HEADERS += \
include/HECL.hpp \
include/HECLBackend.hpp \
include/HECLDatabase.hpp \
include/HECLFrontend.hpp \
include/HECLRuntime.hpp
include/HECL/HECL.hpp \
include/HECL/Backend.hpp \
include/HECL/Database.hpp \
include/HECL/Frontend.hpp \
include/HECL/Runtime.hpp
SUBDIRS += \
extern/LogVisor \
extern/blowfish \
extern/libpng \
extern/libSquish \
extern/Athena \
extern/RetroCommon \
blender \
lib \
@ -29,6 +34,7 @@ SUBDIRS += \
driver.depends = extern/blowfish
driver.depends = extern/libpng
driver.depends = extern/libSquish
driver.depends = extern/Athena
driver.depends = extern/RetroCommon
driver.depends = blender
driver.depends = lib

View File

@ -1 +1 @@
#include "HECL.hpp"
#include "HECL/HECL.hpp"

View File

@ -1,4 +1,4 @@
#include "HECL.hpp"
#include "HECL/HECL.hpp"
#include <stdexcept>
#include <regex>

View File

@ -1,4 +1,4 @@
#include "HECL.hpp"
#include "HECL/HECL.hpp"
#include <locale>
#include <codecvt>

View File

@ -9,7 +9,7 @@
#include <unistd.h>
#endif
#include "HECLDatabase.hpp"
#include "HECL/Database.hpp"
namespace HECL
{

View File

@ -0,0 +1,12 @@
#include "HECL/Database.hpp"
namespace HECL
{
namespace Database
{
/* Centralized registry for DataSpec lookup */
std::vector<const struct DataSpecEntry*> DATA_SPEC_REGISTRY;
}
}

View File

@ -1,4 +1,5 @@
HEADERS +=
SOURCES += \
$$PWD/Project.cpp
$$PWD/Project.cpp \
$$PWD/Registry.cpp

View File

@ -15,7 +15,6 @@ include (frontend/frontend.pri)
include (backend/backend.pri)
include (database/database.pri)
include (runtime/runtime.pri)
include(../extern/Athena/AthenaCore.pri)
SOURCES += \
HECL.cpp \

View File

@ -1,4 +1,4 @@
#include "HECLRuntime.hpp"
#include "HECL/Runtime.hpp"
namespace HECL
{