From: Thomas Debesse Date: Sun, 28 Mar 2021 18:05:52 +0000 (+0200) Subject: deps X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3a3c58d273a186a339fa5887ff3e36e5d8d6f122;p=xonotic%2Fnetradiant.git deps --- diff --git a/libs/modulesystem/singletonmodule.h b/libs/modulesystem/singletonmodule.h index be855611..9a037fb9 100644 --- a/libs/modulesystem/singletonmodule.h +++ b/libs/modulesystem/singletonmodule.h @@ -111,7 +111,14 @@ void capture(){ else { globalOutputStream() << "Module Dependencies Failed: '" << typename Type::Name() << "' '" << APIConstructor::getName() << "'\n"; +#if defined ( IGNORE_DEPENDENCIES_FAIL ) + if ( !m_dependencyCheck ) + { + globalOutputStream() << "Continuing anyway, FIXME!!!"; + } +#else // !IGNORE_DEPENDENCIES_FAIL ASSERT_MESSAGE( m_dependencyCheck, "module dependencies failed" ); +#endif // !IGNORE_DEPENDENCIES_FAIL } m_cycleCheck = true; }