Ebiten-free dependency #518
-
|
Is there anything I can do to make raylib-go free of the ebitengine dependency for linux? As it is now it downloads |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
I think there is no way to do that; it is how Go works. I also do not like that, but there is no way around it. It is not used if you are not building without CGo, but it will always be a dependency. Similarly, e.g., with tests in other projects, you cannot even use some dependency JUST for tests, it will always be a dependency of the project. That is not even an issue; I am working on another project that includes C source. For EVERY change in the C file, like one line changed, I have to REBUILD 30+ C files. Those issues should be addressed in Go source and build tools, not possible to do it for individual projects. |
Beta Was this translation helpful? Give feedback.
I think there is no way to do that; it is how Go works. I also do not like that, but there is no way around it. It is not used if you are not building without CGo, but it will always be a dependency. Similarly, e.g., with tests in other projects, you cannot even use some dependency JUST for tests, it will always be a dependency of the project. That is not even an issue; I am working on another project that includes C source. For EVERY change in the C file, like one line changed, I have to REBUILD 30+ C files. Those issues should be addressed in Go source and build tools, not possible to do it for individual projects.