Fix debug compilation on MSVC due to libtommath requiring dead code elimination

This commit is contained in:
Jan 2023-11-19 16:27:00 +01:00
parent 0c4835bc36
commit 161a1924c8
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

View File

@ -30,6 +30,11 @@ function libtommath:project()
kind "StaticLib" kind "StaticLib"
language "C" language "C"
filter "configurations:Debug"
-- libtommath requires dead code elimination to work
optimize "On"
filter {}
files { files {
path.join(folder, "libtommath/*.h"), path.join(folder, "libtommath/*.h"),
path.join(folder, "libtommath/*.c") path.join(folder, "libtommath/*.c")