Skip to content

Commit 34a35a8

Browse files
committed
update premake5.lua , use the default targetdir for output
Signed-off-by: sndnvaps <sndnvaps@gmail.com>
1 parent 5d7a972 commit 34a35a8

1 file changed

Lines changed: 1 addition & 58 deletions

File tree

premake5.lua

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ end
5050
workspace "SQLite3"
5151
configurations { "Debug_AES128", "Release_AES128", "Debug_AES256", "Release_AES256" }
5252
platforms { "Win32", "x64" }
53-
targetdir "bin/$(ProjectName)/$(Configuration)"
53+
targetdir "bin/$(Platform)/$(ProjectName)/$(Configuration)"
5454
-- location(BUILDDIR)
5555

5656
defines {
@@ -138,16 +138,6 @@ project (PRJ_NAME_LIB)
138138
"CODEC_TYPE=CODEC_TYPE_AES256"
139139
}
140140

141-
-- Target directory
142-
filter { "configurations:Debug_AES128" }
143-
targetdir "bin/aes128/lib/debug"
144-
filter { "configurations:Debug_AES256" }
145-
targetdir "bin/aes256/lib/debug"
146-
filter { "configurations:Release_AES128" }
147-
targetdir "bin/aes128/lib/release"
148-
filter { "configurations:Release_AES256" }
149-
targetdir "bin/aes256/lib/release"
150-
151141
-- SQLite3 shared library
152142
project (PRJ_NAME_DLL)
153143
language "C++"
@@ -200,15 +190,6 @@ project (PRJ_NAME_DLL)
200190
"CODEC_TYPE=CODEC_TYPE_AES256"
201191
}
202192

203-
-- Target directory
204-
filter { "configurations:Debug_AES128" }
205-
targetdir "bin/aes128/dll/debug"
206-
filter { "configurations:Debug_AES256" }
207-
targetdir "bin/aes256/dll/debug"
208-
filter { "configurations:Release_AES128" }
209-
targetdir "bin/aes128/dll/release"
210-
filter { "configurations:Release_AES256" }
211-
targetdir "bin/aes256/dll/release"
212193

213194
-- SQLite3 Shell
214195
project (PRJ_NAME_SHELL)
@@ -232,16 +213,6 @@ project (PRJ_NAME_SHELL)
232213
"SQLITE_USER_AUTHENTICATION"
233214
}
234215

235-
-- Target directory
236-
filter { "configurations:Debug_AES128" }
237-
targetdir "bin/aes128/lib/debug"
238-
filter { "configurations:Debug_AES256" }
239-
targetdir "bin/aes256/lib/debug"
240-
filter { "configurations:Release_AES128" }
241-
targetdir "bin/aes128/lib/release"
242-
filter { "configurations:Release_AES256" }
243-
targetdir "bin/aes256/lib/release"
244-
245216

246217
-- ICU support
247218
-- SQLite3 static library with ICU support
@@ -298,15 +269,6 @@ project (PRJ_NAME_LIB_ICU)
298269
"CODEC_TYPE=CODEC_TYPE_AES256"
299270
}
300271

301-
-- Target directory
302-
filter { "configurations:Debug_AES128" }
303-
targetdir "bin/aes128/lib/debug"
304-
filter { "configurations:Debug_AES256" }
305-
targetdir "bin/aes256/lib/debug"
306-
filter { "configurations:Release_AES128" }
307-
targetdir "bin/aes128/lib/release"
308-
filter { "configurations:Release_AES256" }
309-
targetdir "bin/aes256/lib/release"
310272

311273
-- SQLite3 shared library with ICU support
312274
project (PRJ_NAME_DLL_ICU)
@@ -378,15 +340,6 @@ project (PRJ_NAME_DLL_ICU)
378340
"CODEC_TYPE=CODEC_TYPE_AES256"
379341
}
380342

381-
-- Target directory
382-
filter { "configurations:Debug_AES128" }
383-
targetdir "bin/aes128/dll/debug"
384-
filter { "configurations:Debug_AES256" }
385-
targetdir "bin/aes256/dll/debug"
386-
filter { "configurations:Release_AES128" }
387-
targetdir "bin/aes128/dll/release"
388-
filter { "configurations:Release_AES256" }
389-
targetdir "bin/aes256/dll/release"
390343

391344
-- SQLite3 Shell with ICU support
392345
project (PRJ_NAME_SHELL_ICU)
@@ -421,13 +374,3 @@ project (PRJ_NAME_SHELL_ICU)
421374
"SQLITE_HAS_CODEC=1",
422375
"SQLITE_USER_AUTHENTICATION"
423376
}
424-
425-
-- Target directory
426-
filter { "configurations:Debug_AES128" }
427-
targetdir "bin/aes128/lib/debug"
428-
filter { "configurations:Debug_AES256" }
429-
targetdir "bin/aes256/lib/debug"
430-
filter { "configurations:Release_AES128" }
431-
targetdir "bin/aes128/lib/release"
432-
filter { "configurations:Release_AES256" }
433-
targetdir "bin/aes256/lib/release"

0 commit comments

Comments
 (0)