Skip to content

Commit 07a4fe4

Browse files
committed
[WINDOWS] Get the windows build working woth the new CMake structure tat does include the Thunder version properly..
1 parent 55c8340 commit 07a4fe4

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

Directory.Build.props

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,16 @@
88
<WindowsPath>$(SolutionDir)include\</WindowsPath>
99
<WindowsLibraries>$(SolutionDir)lib\</WindowsLibraries>
1010
</PropertyGroup>
11+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
12+
<IncludePath>$(SolutionDir)include\bridge\generated</IncludePath>
13+
</PropertyGroup>
14+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
15+
<IncludePath>$(SolutionDir)include\bridge\generated</IncludePath>
16+
</PropertyGroup>
17+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
18+
<IncludePath>$(SolutionDir)include\bridge\generated</IncludePath>
19+
</PropertyGroup>
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
21+
<IncludePath>$(SolutionDir)include\bridge\generated</IncludePath>
22+
</PropertyGroup>
1123
</Project>

include/Version.h

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
/***
2-
* This header is a stub, usually it's generated by cmake at when configuring the project.
3-
*/
4-
51
#pragma once
62

3+
#include <stdint.h>
4+
75
namespace Thunder
86
{
9-
namespace PluginHost {
7+
namespace Versioning {
8+
109
static constexpr uint8_t Major = 5;
1110
static constexpr uint8_t Minor = 0;
1211
static constexpr uint8_t Patch = 0;
1312
}
1413
}
14+
15+
#define THUNDER_VERSION 5

0 commit comments

Comments
 (0)