Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Unnessesary AngelScript dependancy [resolved]

(1/1)

me22:
src/sdk/scriptingmanager.h currently includes <angelscript.h>, but all it uses is a pointer to asIScriptEngine, so a forward declaration would suffice:

--- Code: ----#include <angelscript.h>
 #include "settings.h"
 #include <wx/intl.h>

+class asIScriptEngine;
--- End code ---

I found this one out 'cause I don't have <angelscript.h> -- shouldn't there be a --disable-angelscript or something for ./configure to turn off the parts that need it?

takeshimiya:
Can I request all external dependencies be #IFDEF'ed (angelscript, wxdockit, wxscintilla, ...)?

me22:
Followup: it seems that a plain "./configure --enable-debug" doesn't try to compile the angelscript-needing stuff, apart from the one thing above--I got it to finish compiling without any further angelscript-related changes.

me22:
Hmm, it seems that there's another possible way to fix this: http://forums.codeblocks.org/index.php?topic=1492.0

Navigation

[0] Message Index

Go to full version