22 lines
554 B
C++
22 lines
554 B
C++
#include "unity_build_lib.cpp"
|
|
#include "Base_Entry_Point.cpp"
|
|
// #include "imgui-docking.cpp"
|
|
#include "src/OS_Win32.cpp" // should be in lib/
|
|
// #include "src/OS_Linux.cpp" // #TODO: Future.
|
|
// #include "src/OS_MacOS.cpp" // #TODO: Future.
|
|
|
|
|
|
#if OS_WINDOWS
|
|
#if BUILD_CONSOLE_INTERFACE
|
|
int wmain(int argc, WCHAR **argv) {
|
|
Win32_Entry_Point(argc, argv);
|
|
return 0;
|
|
}
|
|
#else
|
|
int wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd) {
|
|
Win32_Entry_Point(__argc, __wargv);
|
|
return 0;
|
|
}
|
|
#endif
|
|
#endif
|