only debug mode will toolkit have main function

This commit is contained in:
JIe 2025-01-06 15:24:48 +08:00
parent f3468a596f
commit b7b44028a1

View File

@ -1,3 +1,5 @@
#ifdef TOOLKIT_DEBUG_MODE
#include <iostream>
#include <toolkit.h>
using namespace std;
@ -9,3 +11,4 @@ int main(int argc, char** argv)
cout<<*str<<"\n";
return 0;
}
#endif // !TOOLKIT_DEBUG_MODE