- Support for C++ wrapping

- Fix module naming
- Remove file caching
- Fix bug that was deleting .nim file
- Add test case
This commit is contained in:
Ganesh Viswanathan 2017-11-13 16:42:56 -06:00
commit a02cbbeeba
3 changed files with 96 additions and 91 deletions

View file

@ -5,8 +5,13 @@ author = "genotrance"
description = "c2nim helper to simpilfy and automate the wrapping of C libraries"
license = "MIT"
skipDirs = @["tests"]
# Dependencies
requires "nim >= 0.16.0", "c2nim >= 0.9.13"
bin = @["nimgen"]
bin = @["nimgen"]
task test, "Test nimgen":
exec "nim e tests/nimgentest.nims"