feat: erased accidentally added engine files
This commit is contained in:
parent
f0fc98b2b8
commit
202693b275
12525 changed files with 0 additions and 6255369 deletions
|
|
@ -1,23 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
from misc.utility.scons_hints import *
|
||||
|
||||
Import("env")
|
||||
|
||||
env.tests_sources = []
|
||||
|
||||
env_tests = env.Clone()
|
||||
|
||||
# We must disable the THREAD_LOCAL entirely in doctest to prevent crashes on debugging
|
||||
# Since we link with /MT thread_local is always expired when the header is used
|
||||
# So the debugger crashes the engine and it causes weird errors
|
||||
# Explained in https://github.com/onqtam/doctest/issues/401
|
||||
if env_tests["platform"] == "windows":
|
||||
env_tests.Append(CPPDEFINES=[("DOCTEST_THREAD_LOCAL", "")])
|
||||
|
||||
if env["disable_exceptions"]:
|
||||
env_tests.Append(CPPDEFINES=["DOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS"])
|
||||
|
||||
env_tests.add_source_files(env.tests_sources, "*.cpp")
|
||||
|
||||
lib = env_tests.add_library("tests", env.tests_sources)
|
||||
env.Prepend(LIBS=[lib])
|
||||
Loading…
Add table
Add a link
Reference in a new issue