updated submodules

This commit is contained in:
Jack Andersen 2015-07-07 18:26:29 -10:00
parent b6216b049c
commit 2f340bb939
11 changed files with 21 additions and 7 deletions

View File

@ -5,5 +5,6 @@ add_subdirectory(extern)
include_directories(include ${LOG_VISOR_INCLUDE_DIR} ${ATHENA_INCLUDE_DIR}) include_directories(include ${LOG_VISOR_INCLUDE_DIR} ${ATHENA_INCLUDE_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
add_subdirectory(lib) add_subdirectory(lib)
add_subdirectory(blender)
add_subdirectory(driver) add_subdirectory(driver)
install(DIRECTORY include/HECL DESTINATION include/HECL) install(DIRECTORY include/HECL DESTINATION include/HECL)

View File

@ -5,7 +5,7 @@
#include <system_error> #include <system_error>
#include <string> #include <string>
#include "CBlenderConnection.hpp" #include "BlenderConnection.hpp"
#ifdef __APPLE__ #ifdef __APPLE__
#define DEFAULT_BLENDER_BIN "/Applications/Blender.app/Contents/MacOS/blender" #define DEFAULT_BLENDER_BIN "/Applications/Blender.app/Contents/MacOS/blender"

View File

@ -0,0 +1,3 @@
add_library(HECLBlender
BlenderConnection.cpp
BlenderConnection.hpp)

View File

@ -10,6 +10,12 @@ public:
ToolExtract(const ToolPassInfo& info) ToolExtract(const ToolPassInfo& info)
: ToolBase(info) : ToolBase(info)
{ {
if (!info.project)
LogModule.report(LogVisor::FatalError, "hecl extract must be ran within a project directory");
for (const HECL::Database::DataSpecEntry* entry : HECL::Database::DATA_SPEC_REGISTRY)
{
}
} }
static void Help(HelpOutput& help) static void Help(HelpOutput& help)
@ -21,13 +27,13 @@ public:
help.secHead(_S("SYNOPSIS")); help.secHead(_S("SYNOPSIS"));
help.beginWrap(); help.beginWrap();
help.wrap(_S("hecl extract <packagefile>[/<subnode>...]\n")); help.wrap(_S("hecl extract <packagefile> [<subnode>...]\n"));
help.endWrap(); help.endWrap();
help.secHead(_S("DESCRIPTION")); help.secHead(_S("DESCRIPTION"));
help.beginWrap(); help.beginWrap();
help.wrap(_S("This command recursively extracts all or part of a dataspec-supported " help.wrap(_S("This command recursively extracts all or part of a dataspec-supported "
"package format.\n\n")); "package format. Each object is decoded to a working format and added to the project.\n\n"));
help.endWrap(); help.endWrap();
help.secHead(_S("OPTIONS")); help.secHead(_S("OPTIONS"));

View File

@ -10,6 +10,8 @@ public:
ToolGroup(const ToolPassInfo& info) ToolGroup(const ToolPassInfo& info)
: ToolBase(info) : ToolBase(info)
{ {
if (!info.project)
LogModule.report(LogVisor::FatalError, "hecl group must be ran within a project directory");
} }
~ToolGroup() ~ToolGroup()

View File

@ -12,6 +12,8 @@ public:
ToolPackage(const ToolPassInfo& info) ToolPackage(const ToolPassInfo& info)
: ToolBase(info) : ToolBase(info)
{ {
if (!info.project)
LogModule.report(LogVisor::FatalError, "hecl package must be ran within a project directory");
} }
~ToolPackage() ~ToolPackage()

View File

@ -53,7 +53,7 @@ static const HECL::SystemRegex regOPEN(_S("-o([^\"]*|\\S*)"), std::regex::ECMASc
static const HECL::SystemRegex regVERBOSE(_S("-v(v*)"), std::regex::ECMAScript|std::regex::optimize); static const HECL::SystemRegex regVERBOSE(_S("-v(v*)"), std::regex::ECMAScript|std::regex::optimize);
static const HECL::SystemRegex regFORCE(_S("-f"), std::regex::ECMAScript|std::regex::optimize); static const HECL::SystemRegex regFORCE(_S("-f"), std::regex::ECMAScript|std::regex::optimize);
#include "../blender/CBlenderConnection.hpp" #include "../blender/BlenderConnection.hpp"
#if HECL_UCS2 #if HECL_UCS2
int wmain(int argc, const wchar_t** argv) int wmain(int argc, const wchar_t** argv)

2
hecl/extern/Athena vendored

@ -1 +1 @@
Subproject commit ce917d4aca98551aff497f012a1dfab6975f36c3 Subproject commit 8a397a16229e6642088ad1790f18015fca506744

@ -1 +1 @@
Subproject commit 4416d51c461c6d6c21ecf6c91c7a1c31210517d2 Subproject commit 9e31e9e2b971290d6a9725a81e35c423dd4fd719

@ -1 +1 @@
Subproject commit 4f79743da0821645001a37046b98357c1c3acde9 Subproject commit 74b970c347d02d12b104166bd37827f7868fe642