Skip to content

Commit 0355cef

Browse files
committed
Fix previous commit (prefix for filenames in 64 bits)
1 parent 00f865b commit 0355cef

File tree

1 file changed

+23
-27
lines changed

1 file changed

+23
-27
lines changed

scripts/genie.lua

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11

2+
function SetupPrefix()
3+
configuration { "x32", "Debug" }
4+
targetsuffix "_d"
5+
configuration { "x32", "Release" }
6+
targetsuffix ""
7+
8+
configuration { "x64", "Debug" }
9+
targetsuffix "_x64_d"
10+
configuration { "x64", "Release" }
11+
targetsuffix "_x64"
12+
13+
configuration()
14+
end
15+
216
solution "UtilsCollection"
317
location (path.join("../.project/", _ACTION))
418
language "C++"
@@ -36,21 +50,15 @@ solution "UtilsCollection"
3650
"../externals/zstd/lib/compress"
3751
}
3852

39-
platforms{}
53+
configuration()
4054

4155
configuration "Debug"
42-
targetsuffix "_d"
43-
platforms "x64"
44-
targetsuffix "_x64_d"
45-
platforms{}
4656
flags { "Symbols" }
4757

4858
configuration "Release"
49-
platforms "x64"
50-
targetsuffix "_x64"
51-
platforms{}
5259
flags { "Optimize" }
5360

61+
SetupPrefix()
5462

5563
project "U8toX"
5664
uuid "83220d0c-8a77-4acb-af45-aedaad4df6b5"
@@ -62,20 +70,16 @@ solution "UtilsCollection"
6270
"../u8tox/**.h"
6371
}
6472

65-
platforms{}
73+
configuration()
6674

6775
configuration "Debug"
68-
targetsuffix "_d"
69-
platforms "x64"
70-
targetsuffix "_x64_d"
7176
flags { "Symbols" }
7277

7378
configuration "Release"
74-
platforms "x64"
75-
targetsuffix "_x64"
76-
platforms{}
7779
flags { "Optimize" }
7880

81+
SetupPrefix()
82+
7983
project "BooleanExpression"
8084
uuid "16b264fc-24cc-487b-840d-24070a7d461b"
8185
kind "ConsoleApp"
@@ -86,20 +90,16 @@ solution "UtilsCollection"
8690
"../BooleanExpression/**.h"
8791
}
8892

89-
platforms{}
93+
configuration()
9094

9195
configuration "Debug"
9296
targetsuffix "_d"
93-
platforms "x64"
94-
targetsuffix "_x64_d"
9597
flags { "Symbols" }
9698

9799
configuration "Release"
98-
platforms "x64"
99-
targetsuffix "_x64"
100-
platforms{}
101100
flags { "Optimize" }
102101

102+
SetupPrefix()
103103

104104
project "StringUtils"
105105
uuid "618ee57a-e754-46cf-9f9b-7923e531d970"
@@ -111,17 +111,13 @@ solution "UtilsCollection"
111111
"../StringUtils/**.h"
112112
}
113113

114-
platforms{}
114+
configuration()
115115

116116
configuration "Debug"
117117
targetsuffix "_d"
118-
platforms "x64"
119-
targetsuffix "_x64_d"
120118
flags { "Symbols" }
121119

122120
configuration "Release"
123-
platforms "x64"
124-
targetsuffix "_x64"
125-
platforms{}
126121
flags { "Optimize" }
127122

123+
SetupPrefix()

0 commit comments

Comments
 (0)