Skip to content

Conversation

@BastiaanOlij
Copy link
Collaborator

I've changed the SConstruct file for the demo so that building release and debug builds now puts that in the name of the DLL. I also added platform and bits so that the naming is in line with godot-cpp.

This allows us to deploy both debug and release builds. I've updated the .gdextension file accordingly, it seems to be loading the correct one in the editor but I haven't check the export yet and that probably will need some upstream fixes.

Because the platform is now in the name of the dll I've removed the folders here, seemed overkill.

Finally I've moved a few things to the top of the file so that you can copy this SConstruct for your own project and edit two or three entries and it will work. I figured people would appreciate that especially if we continue building out our test to support more platforms.

@BastiaanOlij BastiaanOlij added enhancement This is an enhancement on the current functionality topic:gdextension This relates to the new Godot 4 extension implementation labels Sep 29, 2021
@BastiaanOlij BastiaanOlij added this to the 4.0 milestone Sep 29, 2021
@BastiaanOlij BastiaanOlij self-assigned this Sep 29, 2021
@akien-mga akien-mga changed the title Setup for building both debug and release build test: Setup for building both debug and release build Sep 29, 2021
@akien-mga akien-mga merged commit ad11bbb into godotengine:master Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This is an enhancement on the current functionality topic:gdextension This relates to the new Godot 4 extension implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants