// Treat library files as a single-file header (single translation unit)
#include "lib_main.cpp"

#define BASE_RUN_TESTS 1
#define BUILD_WIN32_APPLICATION 1

#if BASE_RUN_TESTS
  #include "lib/Base/run_tests.cpp"
#endif

#if BUILD_WIN32_APPLICATION
  static_assert(OS_WINDOWS && COMPILER_MSVC);
  #include <math.h>
  #include <d3d11.h>
  #include <dwmapi.h>

  #pragma comment(lib, "d3d11.lib")
  #pragma comment(lib, "dxgi.lib")
  #pragma comment(lib, "msvcrt.lib")
  
  #include "lib/third_party/dear-imgui/imgui.h"
  #include "lib/third_party/dear-imgui/imgui_impl_win32.h"
  #include "lib/third_party/dear-imgui/imgui_impl_dx11.h"
  #include "src/ImGui_Supplementary.cpp"
  #include "src/DX11.cpp"
  
  #include "src/app_main.cpp"
#endif

// This is the #entry point
#include "src/Base_Entry_Point.cpp"
