From b7b44028a150a05b46fda5599baf53ad402aa47b Mon Sep 17 00:00:00 2001 From: JIe Date: Mon, 6 Jan 2025 15:24:48 +0800 Subject: [PATCH] only debug mode will toolkit have main function --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 4ad276d..0c3e53b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,5 @@ +#ifdef TOOLKIT_DEBUG_MODE + #include #include using namespace std; @@ -9,3 +11,4 @@ int main(int argc, char** argv) cout<<*str<<"\n"; return 0; } +#endif // !TOOLKIT_DEBUG_MODE \ No newline at end of file