mirror of https://github.com/axmolengine/axmol.git
26 lines
684 B
C
26 lines
684 B
C
\#include "scripting/lua-bindings/auto/${out_file}.hpp"
|
|
#if $macro_judgement
|
|
$macro_judgement
|
|
#end if
|
|
#for header in $headers
|
|
#set relative = '..'
|
|
#for search_path in $search_paths
|
|
#set relative = os.path.relpath(header, $search_path)
|
|
#if not '..' in relative
|
|
#break
|
|
#end if
|
|
#end for
|
|
#if not '..' in relative
|
|
\#include "${relative.replace(os.path.sep, '/')}"
|
|
#else
|
|
\#include "${os.path.basename(header)}"
|
|
#end if
|
|
#end for
|
|
\#include "scripting/lua-bindings/manual/tolua_fix.h"
|
|
\#include "scripting/lua-bindings/manual/LuaBasicConversions.h"
|
|
#if $cpp_headers
|
|
#for header in $cpp_headers
|
|
\#include "${header}"
|
|
#end for
|
|
#end if
|