This commit is contained in:
aozhiwei 2022-12-22 09:12:12 +08:00
parent 5bd5edcc8f
commit a7dfaf498b
4 changed files with 21 additions and 2 deletions

View File

@ -66,6 +66,14 @@ aux_source_directory(behaviac_generated/types/internal
SRC_LIST
)
aux_source_directory(mtb
SRC_LIST
)
aux_source_directory(mt
SRC_LIST
)
execute_process(
COMMAND touch -a cs_proto.pb.h
COMMAND touch -a cs_proto.pb.cc

View File

@ -42,6 +42,7 @@
#include "skillhelper.h"
#include "config.h"
#include "mt/Param.h"
struct MsgNode
{
@ -118,8 +119,18 @@ static void SavePerfLog()
f8::HttpClientPool::Instance()->max_user_request_delay = 0;
}
template<typename T>
void SafeCallStaticInit1(...) { };
template<typename T, void() = &T::StaticInit1>
void SafeCallStaticInit1(int) { T::StaticInit1(); };
bool App::Init(int argc, char* argv[])
{
{
SafeCallStaticInit1<mt::Param>(0);
}
#if 0
{
std::string data = "${master.name} [aa ]${image.id:1000} bb${}cc";

2
third_party/a8 vendored

@ -1 +1 @@
Subproject commit 966f7119e7545325458451537830731b89d0a48b
Subproject commit d33036398d06f3f81cda9b17b8fc2d7a6c67e95b

2
third_party/f8 vendored

@ -1 +1 @@
Subproject commit 801ee99ec3c1649eea8722dac4322012846eae30
Subproject commit 458a24b4c672c87c3a961a3d0610dd7f2d783d5c