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

1 .Add option to create visual studio c++ solution (sln) files , 2 add option to compile statically #12

Closed
whiletrue111 opened this issue Apr 22, 2024 · 1 comment

Comments

@whiletrue111
Copy link

Hello
Great project i learning a ton .

  1. Can the cmake/ninja provide option to create vsc++ project solution ( sln ) ?
  2. Can the cmake add option to create static lib and then compile statically with the engine ?

At first only for windows .
Thanks

@vorlac
Copy link
Owner

vorlac commented May 16, 2024

i can check what you'd end up with if you change the cmake generator from Ninja to Visual Studio 2022 project files, but i have a feeling it's not going to end up with anything too clean because of what I do with the engine's codebase to get it working well in an IDE. This setup was kind of created to specifically not have to work with vcxproj/sln files since cmake ends up being easier/cleaner once you've figured out the language a bit.

statically linking the library with the engine wouldn't work for gdextension. that sounds more like how you'd approach working with a godot module (where you extend the engine directly). using gdextension, the library is built completely separate from the engine (it just requires the godot-cpp library to have everything it needs to interface with the engine though dynamic bindings that are created at runtime).

@vorlac vorlac closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2024
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