Files
WV-Core/include/wv/app/EntryPoint.h
T

16 lines
336 B
C

// Entry point for the application
// This must be included in the main.cpp file of the project.
// CreateApp must be defined in the project.
#pragma once
#include <wv/app/App.h>
extern WillowVox::App* WillowVox::CreateApp();
int main(int argc, char** argv)
{
auto app = WillowVox::CreateApp();
app->Run();
delete app;
}