* Update GLFW to 3.5.1
* Remove cocoa_time.c from rglfw.c
* Add macos_time.c to rglfw.c
* Redo changes from pull request #3863
* Makefile: add QuartzCore framework when building for macOS
* Add QuartzCore when building for macOS to other build files
* Remove unused GLFW dependencies
Examples depend on raylib anyway, and if using emsdk, it will be
activated already. This activation was causing an error in zig
nightly, so the change here.
* Include resource preloads when building wasm examples with Zig.
List of resources derived from examples/Makefile.Web
* Move resource list to zon file to reduce build.zig bloat
* Add better structure for build.zig
Temporarily disabled the tests
* Cleanup build.zig a bit
* Fixed zemscripten and cleanup other platforms
* Make opengl_version selection more restritive
* Add traslateC to build; Renable examples
* Add raygui build to build.zig
* Deny glfw from android target
* Fix android platform includes
* Add Zig project example
* Add Zig project mention to README
* Set right name for web build in zig example
* Cleanup last parts of build.zig
* Add linking method for build.zig
* Fix lshcore link for glfw and rgfw build.zig
* Fix weird sdl linkage build.zig
* Add zig example to zig project
* Fix win32, mac build bugs in build.zig
* Rename argument lshcore to shcore build.zig
- Added zig-pkg directory to gitignore
- Brought min zig version to recent nightly release these improvements
were completed on
- For linux build, only add rglfw.c if the platform is glfw
- Add a None option to the LinuxDisplayBackend
- Fixed xcode-frameworks dependency and update to using most recent
commit hash
* fixed build errors with zig. now compatible with zig master 0.16.0-dev.1593+c13857e50. still backwards compatible with 0.15.1
* [build] building with zig-master 0.16.0-dev.2349+204fa8959.
* [build] building with zig-master 0.16.0-dev.2349+204fa8959, now compatible with zig 0.15
* build: removed compatibility with zig 0.15.2.
* inlined processExample function to minimize diffs
[utils] was created long time ago, when [rcore] contained all the platforms code, the purpose of the file was exposing basic filesystem functionality across modules and also logging mechanism but many things have changed since then and there is no need to keep using this module.
- Logging system has been move to [rcore] module and macros are exposed through `config.h` to other modules
- File system functionality has also been centralized in [rcore] module that along the years it was already adding more and more file-system functions, now they are all in the same module
- Android specific code has been moved to `rcore_android.c`, it had no sense to have specific platform code in `utils`, [rcore] is responsible of all platform code.
build.zig doesn't support the examples for the emscripten OS but it does
support the raylib library. However, the examples panic if emscripten
is configured which prevents it from building the library. I've replaced
this panic with a fail step to fix this.
Previously, the libc paths file `android-libc.txt` was written to
the folder from which the user ran `zig build`. This caused
problems when using raylib as a dependency in other zig
projects, since raylib is not built in the project root, but the
`android-libc.txt` file was still generated in the project root. The file
should now be generated in .zig-cache, which should fix the isssue (and
leave the project root folder cleaner).