feat: init project
This commit is contained in:
parent
1b81f5686e
commit
ef1f2db1e1
|
@ -11,7 +11,7 @@ def validate_parent_dir(key, val, env):
|
|||
raise UserError("'%s' is not a directory: %s" % (key, os.path.dirname(val)))
|
||||
|
||||
|
||||
libname = "EXAMPLE"
|
||||
libname = "dirt_racer"
|
||||
projectdir = "godot"
|
||||
|
||||
localEnv = Environment(tools=["default"], PLATFORM="")
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
[configuration]
|
||||
|
||||
entry_symbol = "EXAMPLE_library_init"
|
||||
compatibility_minimum = "4.1"
|
||||
|
||||
[libraries]
|
||||
|
||||
macos.debug = "res://bin/macos/libEXAMPLE.macos.template_debug.framework"
|
||||
macos.release = "res://bin/macos/libEXAMPLE.macos.template_release.framework"
|
||||
windows.debug.x86_32 = "res://bin/windows/libEXAMPLE.windows.template_debug.x86_32.dll"
|
||||
windows.release.x86_32 = "res://bin/windows/libEXAMPLE.windows.template_release.x86_32.dll"
|
||||
windows.debug.x86_64 = "res://bin/windows/libEXAMPLE.windows.template_debug.x86_64.dll"
|
||||
windows.release.x86_64 = "res://bin/windows/libEXAMPLE.windows.template_release.x86_64.dll"
|
||||
linux.debug.x86_64 = "res://bin/linux/libEXAMPLE.linux.template_debug.x86_64.so"
|
||||
linux.release.x86_64 = "res://bin/linux/libEXAMPLE.linux.template_release.x86_64.so"
|
||||
linux.debug.arm64 = "res://bin/linux/libEXAMPLE.linux.template_debug.arm64.so"
|
||||
linux.release.arm64 = "res://bin/linux/libEXAMPLE.linux.template_release.arm64.so"
|
||||
linux.debug.rv64 = "res://bin/linux/libEXAMPLE.linux.template_debug.rv64.so"
|
||||
linux.release.rv64 = "res://bin/linux/libEXAMPLE.linux.template_release.rv64.so"
|
||||
android.debug.x86_64 = "res://bin/linux/libEXAMPLE.android.template_debug.x86_64.so"
|
||||
android.release.x86_64 = "res://bin/linux/libEXAMPLE.android.template_release.x86_64.so"
|
||||
android.debug.arm64 = "res://bin/linux/libEXAMPLE.android.template_debug.arm64.so"
|
||||
android.release.arm64 = "res://bin/linux/libEXAMPLE.android.template_release.arm64.so"
|
23
godot/bin/dirt_racer.gdextension
Normal file
23
godot/bin/dirt_racer.gdextension
Normal file
|
@ -0,0 +1,23 @@
|
|||
[configuration]
|
||||
|
||||
entry_symbol = "dirt_racer_library_init"
|
||||
compatibility_minimum = "4.1"
|
||||
|
||||
[libraries]
|
||||
|
||||
macos.debug = "res://bin/macos/libdirt_racer.macos.template_debug.framework"
|
||||
macos.release = "res://bin/macos/libdirt_racer.macos.template_release.framework"
|
||||
windows.debug.x86_32 = "res://bin/windows/libdirt_racer.windows.template_debug.x86_32.dll"
|
||||
windows.release.x86_32 = "res://bin/windows/libdirt_racer.windows.template_release.x86_32.dll"
|
||||
windows.debug.x86_64 = "res://bin/windows/libdirt_racer.windows.template_debug.x86_64.dll"
|
||||
windows.release.x86_64 = "res://bin/windows/libdirt_racer.windows.template_release.x86_64.dll"
|
||||
linux.debug.x86_64 = "res://bin/linux/libdirt_racer.linux.template_debug.x86_64.so"
|
||||
linux.release.x86_64 = "res://bin/linux/libdirt_racer.linux.template_release.x86_64.so"
|
||||
linux.debug.arm64 = "res://bin/linux/libdirt_racer.linux.template_debug.arm64.so"
|
||||
linux.release.arm64 = "res://bin/linux/libdirt_racer.linux.template_release.arm64.so"
|
||||
linux.debug.rv64 = "res://bin/linux/libdirt_racer.linux.template_debug.rv64.so"
|
||||
linux.release.rv64 = "res://bin/linux/libdirt_racer.linux.template_release.rv64.so"
|
||||
android.debug.x86_64 = "res://bin/linux/libdirt_racer.android.template_debug.x86_64.so"
|
||||
android.release.x86_64 = "res://bin/linux/libdirt_racer.android.template_release.x86_64.so"
|
||||
android.debug.arm64 = "res://bin/linux/libdirt_racer.android.template_debug.arm64.so"
|
||||
android.release.arm64 = "res://bin/linux/libdirt_racer.android.template_release.arm64.so"
|
|
@ -22,7 +22,7 @@ void initialize_gdextension_types(ModuleInitializationLevel p_level)
|
|||
extern "C"
|
||||
{
|
||||
// Initialization
|
||||
GDExtensionBool GDE_EXPORT EXAMPLE_library_init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization)
|
||||
GDExtensionBool GDE_EXPORT dirt_racer_library_init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization)
|
||||
{
|
||||
GDExtensionBinding::InitObject init_obj(p_get_proc_address, p_library, r_initialization);
|
||||
init_obj.register_initializer(initialize_gdextension_types);
|
||||
|
|
Loading…
Reference in a new issue