News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Unnessesary AngelScript dependancy [resolved]

Started by me22, December 02, 2005, 12:37:40 AM

Previous topic - Next topic

me22

src/sdk/scriptingmanager.h currently includes <angelscript.h>, but all it uses is a pointer to asIScriptEngine, so a forward declaration would suffice:
-#include <angelscript.h>
#include "settings.h"
#include <wx/intl.h>

+class asIScriptEngine;


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