irishgreencitrus / raylib.v

A simple wrapper for raylib in V
zlib License
61 stars 13 forks source link

Enhance installraylib.vsh with ability to pass a custom compiler with CC=gcc . #5

Closed spytheman closed 1 year ago

spytheman commented 1 year ago

Also add a workaround for double quoting -I and -L paths on windows.

spytheman commented 1 year ago

Output after the change:

#0 18:56:40 ᛋ main ~/.vmodules/irishgreencitrus/raylibv❱v run installraylib.vsh 
Cloning Raylib v4.2.0 to /tmp/raylib_01GAVD494RBZGD2311RZANBD7E ...
This may take a few minutes depending on the speed of your internet connection.
Cloning completed.
Compiling Raylib with V's tcc...
Building raudio...
Building rcore...
Building rmodels...
Building rshapes...
Building rtext...
Building rtextures...
Building rglfw...
Building utils...
Compilation completed.
Creating an archive library file...
Archiving completed.
Cleaning up...
#0 18:56:55 ᛋ main ~/.vmodules/irishgreencitrus/raylibv❱

If any of the steps fail, the script will show the error and the details.

irishgreencitrus commented 1 year ago

Cheers!