yyc12345
d74b4645f0
- fix build issue in Unvirt and LibCmo - due to we use UTF8 string. the accessible value generator in EnumsMigration need to be changed at the same time. - remove string helper in Unvirt because we no longer need it.
22 lines
496 B
C++
22 lines
496 B
C++
#include <YYCCommonplace.hpp>
|
|
#include "UnvirtContext.hpp"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
|
|
// register exception handler on windows release
|
|
#if defined(LIBCMO_BUILD_RELEASE) && (YYCC_OS == YYCC_OS_WINDOWS)
|
|
YYCC::ExceptionHelper::Register();
|
|
#endif
|
|
|
|
// run core
|
|
Unvirt::Context::UnvirtContext ctx;
|
|
ctx.Run();
|
|
|
|
// unregister exception handler on windows release
|
|
#if defined(LIBCMO_BUILD_RELEASE) && (YYCC_OS == YYCC_OS_WINDOWS)
|
|
YYCC::ExceptionHelper::Register();
|
|
#endif
|
|
|
|
return 0;
|
|
}
|