Skip to content

Commit 52292cb

Browse files
committed
Make Windows build work
1 parent d85901d commit 52292cb

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

OverEngine/premake5.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ project "OverEngine"
1111
pchheader "pcheader.h"
1212
pchsource "src/pcheader.cpp"
1313

14+
prebuildcommands
15+
{
16+
[[python ../utils/wren_to_c_string.py src/Wren/entity.wren.inc src/Wren/entity.wren
17+
python ../utils/wren_to_c_string.py src/Wren/input.wren.inc src/Wren/input.wren
18+
python ../utils/wren_to_c_string.py src/Wren/keycodes.wren.inc src/Wren/keycodes.wren
19+
python ../utils/wren_to_c_string.py src/Wren/lib.wren.inc src/Wren/lib.wren
20+
python ../utils/wren_to_c_string.py src/Wren/math.wren.inc src/Wren/math.wren
21+
python ../utils/wren_to_c_string.py src/Wren/script.wren.inc src/Wren/script.wren]]
22+
}
23+
1424
files
1525
{
1626
-- Source Files

OverEngine/src/OverEngine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#pragma once
22

3-
// To be used in OverApps
43
#include "OverEngine/Core/Runtime/Application.h"
54
#include "OverEngine/Core/Log.h"
65
#include "OverEngine/Core/Time/Time.h"
76
#include "OverEngine/Core/Math/Math.h"
87
#include "OverEngine/Core/Random.h"
98
#include "OverEngine/Layers/Layer.h"
9+
#include "OverEngine/Debug/Instrumentor.h"
1010

1111
#include "OverEngine/ImGui/ImGuiLayer.h"
1212
#include "OverEngine/ImGui/ExtraImGui.h"

OverEngine/src/OverEngine/Events/ApplicationEvent.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#include "Event.h"
44

5+
#include <sstream>
6+
57
namespace OverEngine
68
{
79
class WindowCloseEvent : public Event

0 commit comments

Comments
 (0)