greenfork / nimraylib_now

The Ultimate Raylib gaming library wrapper for Nim
MIT License
149 stars 16 forks source link

Nimble complains about filenames.nim being included in the top-level src directory #28

Closed greenfork closed 2 years ago

greenfork commented 3 years ago

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.