From 6f68f497f4b62d17b5bdb4facef8914b82430895 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:32:30 +0800 Subject: [PATCH] feat(tile.h): add aux --- tile/init.h | 3 +++ tile/tile.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tile/init.h b/tile/init.h index f81d892..a7ea234 100644 --- a/tile/init.h +++ b/tile/init.h @@ -20,4 +20,7 @@ void TerminateBasicRuntime(); }// namespace tile +#define TILE_MAIN(func) \ + int main(int argc, char *argv[]) { return ::tile::Start(argc, argv, func); } + #endif// TILE_INIT_H diff --git a/tile/tile.h b/tile/tile.h index e05523a..18271fa 100644 --- a/tile/tile.h +++ b/tile/tile.h @@ -60,4 +60,7 @@ // sigslot #include "sigslot/sigslot.h" +// gflags +#include "gflags/gflags.h" + #endif// TILE_TILE_H