-
Notifications
You must be signed in to change notification settings - Fork 507
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
CMake support? #194
Comments
I am currently trying to put together support for cmake with https://github.com/cboiangiu/The-Forge.cmake. I am using https://github.com/widberg/bgfx.cmake as a guide. Ideally I wish to build The-Forge as a package and then include the lib as a framework. |
Yes i totally agree with package it as lib. with cmake move, we also can consider using conan/vcpkg. By doing so, it will make the opensource community to adopt this framework |
this would also allow it to "just be used" with other IDE's that have support for cmake (or even simply via |
https://github.com/CU-Production/The-Forge-CMake |
https://github.com/Geenz/TheForgeTheCmake |
I have a working version for the newest update of The-Forge! |
I've made: TheForgeCMake reflect's the UbuntuCodeLite/*.project files. |
I agree, but this has been previously discussed in #158 and the issue is that CMake supports too much so the tests wouldn't cover all the supported targets. Not sure why simply checking On a practical side of things, switching is almost certainly a cost that wouldn't be directly beneficial to them and if they're not familiar with CMake it just adds additional complexity to maintaining their |
Wouldn't adding proper CMake support allow for easy generation of the current |
I do however support the idea of having a cross-platform |
Yes and no. Differences start to show with complex configurations (e.g. game engines). A generator will never satisfy all requirements in all environments, which is why they don't want to use it. For the same reason, you might be better off setting up your own configuration with specialized dependencies, which I'm guessing they're doing for their clients.
|
I have made a new CMake file, edit: does not work. It might not be complete and is missing something. Currently trying to run it. |
I wouldn't invest any time in trying to add CMake support into Forge. I've started a PR a couple months ago with significant CMake support for all platforms (#310) but it was silently closed. |
While that is unfortunate, we can still try to do it like Jochumdev et al. and provide separate cmake files. It is not an optimal solution, but it works. Sadly, I noticed that my attempt did not work, so I will keep looking at it. Edit: I finnally got it working! Please refer to https://github.com/tomwjerry/ForgeCMake |
is there any plan for offcial cmake support for the-forge?
https://github.com/DeanoC/The-Forge/blob/master/CMakeLists.txt
The text was updated successfully, but these errors were encountered: