This file is needed both during development for automatic bindings generation and during production to point the the csources directory. It doesn't make sense to include the whole file inside src/nimraylib_now because we then need to re-generate it somehow as we do with raylib_build_static_template.nim being copied to src/nimraylib_now as raylib_build_static.nim. We can violate the DRY principle and include paths to the C sources inside the build script or somehow manage to copy only necessary parts of filenames.nim inside src/nimraylib_now.
This file is needed both during development for automatic bindings generation and during production to point the the
csources
directory. It doesn't make sense to include the whole file insidesrc/nimraylib_now
because we then need to re-generate it somehow as we do withraylib_build_static_template.nim
being copied tosrc/nimraylib_now
asraylib_build_static.nim
. We can violate the DRY principle and include paths to the C sources inside the build script or somehow manage to copy only necessary parts offilenames.nim
insidesrc/nimraylib_now
.