Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ fails to compile if the game's module name does not match the project name #70

Open
jeremyabel opened this issue Jan 17, 2022 · 2 comments

Comments

@jeremyabel
Copy link
Contributor

My game module's name is different than the project name, so modifications have to be made to the plugin to support this. Specifically I added a "GameModuleName" property to the plugin settings, and use that to replace all instances of FApp::GetProjectName(). I set the default of the GameModuleName property to FApp:GetProjectName(), but I'm not sure if there's a better way of getting the real game module name automatically without allowing the user to change it in the plugin settings. Additionally I adjusted the CodeFileGenerator::GetExportMacro() function as well to use the GameModuleName config setting instead.

@christian-schildt
Copy link
Contributor

Hi jeremyabel,

Thanks for reporting this issue!
We will have a look if there is a possibility to determine the module name automatically. Otherwise, we will implement a solution like yours.

Best Regards,
Christian

@jeremyabel
Copy link
Contributor Author

Any update on this? It has not been addressed yet in the lastest release of the plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants