UnitTest: Enable RTTI

Former-commit-id: 99410bd952b14a187de04632ae041fd556a66e34 [formerly 85c10d4f7f2251c67cc14f1e7b10bac7092681e7] [formerly 4cd0ef1e6cbe595673dfb71ba82f4620dde4413e [formerly 3b7b24b4cad4e0abd4fb2faf7c9305ca75462028]]
Former-commit-id: 4419ea87112eb630430b46e5a8c0a3c155925df3 [formerly 83f3c7cab613c17d504484937fedca9ab09329ea]
Former-commit-id: 1455045645ef8e3ca74b49488b3d53adaf7e3d55
This commit is contained in:
Lynix 2016-09-28 13:55:27 +02:00
parent 7e908a5226
commit bd0c99c687
2 changed files with 7 additions and 1 deletions

View File

@ -141,7 +141,6 @@ function NazaraBuild:Execute()
configuration("Release*")
flags("NoFramePointer")
optimize("Speed")
rtti("Off")
vectorextensions("SSE2")
configuration({"Release*", "codeblocks or codelite or gmake or xcode3 or xcode4"})
@ -243,6 +242,9 @@ function NazaraBuild:Execute()
configuration("DebugDynamic")
targetsuffix("-d")
configuration("Release*")
rtti(moduleTable.EnableRTTI and "On" or "Off")
configuration({})
files(moduleTable.Files)
@ -361,6 +363,9 @@ function NazaraBuild:Execute()
configuration("*Static")
defines("NAZARA_STATIC")
configuration("Release*")
rtti(toolTable.EnableRTTI and "On" or "Off")
if (toolTable.Kind == "library" or toolTable.Kind == "plugin") then
configuration("*Static")
kind("StaticLib")

View File

@ -2,6 +2,7 @@ TOOL.Name = "UnitTests"
TOOL.Directory = "../tests"
TOOL.EnableConsole = true
TOOL.EnableRTTI = true
TOOL.Kind = "Application"
TOOL.TargetDirectory = TOOL.Directory