BuildSystem: generated files have .gen.extension
This commit is contained in:
parent
a2e4b80ff5
commit
e3998528e0
35 changed files with 93 additions and 90 deletions
|
|
@ -18,7 +18,7 @@ gd_cpp = '#include "global_config.h"\n'
|
|||
gd_cpp += gd_inc
|
||||
gd_cpp += "void GlobalConfig::register_global_defaults() {\n" + gd_call + "\n}\n"
|
||||
|
||||
f = open("global_defaults.cpp", "wb")
|
||||
f = open("global_defaults.gen.cpp", "wb")
|
||||
f.write(gd_cpp)
|
||||
f.close()
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ if ("SCRIPT_AES256_ENCRYPTION_KEY" in os.environ):
|
|||
txt = "0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0"
|
||||
print("Invalid AES256 encryption key, not 64 bits hex: " + e)
|
||||
|
||||
f = open("script_encryption_key.cpp", "wb")
|
||||
f = open("script_encryption_key.gen.cpp", "wb")
|
||||
f.write("#include \"global_config.h\"\nuint8_t script_encryption_key[32]={" + txt + "};\n")
|
||||
f.close()
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ env.add_source_files(env.core_sources, "*.cpp")
|
|||
|
||||
# Make binders
|
||||
import make_binders
|
||||
env.Command(['method_bind.inc', 'method_bind_ext.inc'], 'make_binders.py', make_binders.run)
|
||||
env.Command(['method_bind.gen.inc', 'method_bind_ext.gen.inc'], 'make_binders.py', make_binders.run)
|
||||
|
||||
|
||||
# Chain load SCsubs
|
||||
|
|
|
|||
|
|
@ -343,6 +343,6 @@ MethodBind *create_vararg_method_bind(Variant (T::*p_method)(const Variant **, i
|
|||
// if you declare an nonexistent class..
|
||||
class __UnexistingClass;
|
||||
|
||||
#include "method_bind.inc"
|
||||
#include "method_bind.gen.inc"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "version_generated.h"
|
||||
#include "version_generated.gen.h"
|
||||
|
||||
#ifdef VERSION_PATCH
|
||||
#define VERSION_MKSTRING "" _MKSTR(VERSION_MAJOR) "." _MKSTR(VERSION_MINOR) "." _MKSTR(VERSION_PATCH) "." _MKSTR(VERSION_STATUS) "." _MKSTR(VERSION_REVISION)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue