Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Include the AST.h to non-compiled files. #850
When trying to add a new test in AST.h, I realized it is not the header that Test.AST.cs uses. but an external dependency that CppSharp.Parse.CLI has, while the correct one is under Tests/Native. So include the file to non-complied in AST test project may avoid confusion.
To do this you need to add some new Premake build code to https://github.com/mono/CppSharp/blob/master/src/Generator.Tests/premake5.lua#L9:
Something like this should work:
Can you give it a try and send a PR?