diff --git a/build/Tests.lua b/build/Tests.lua index dd1e908c..7f976f3d 100644 --- a/build/Tests.lua +++ b/build/Tests.lua @@ -49,6 +49,7 @@ function SetupTestGeneratorProject(name) links { + "System.Core", "CppSharp.AST", "CppSharp.Generator", "CppSharp.Generator.Tests" diff --git a/src/CppParser/AST.cpp b/src/CppParser/AST.cpp index fa2b6372..390126ce 100644 --- a/src/CppParser/AST.cpp +++ b/src/CppParser/AST.cpp @@ -591,7 +591,7 @@ DEF_STRING(TranslationUnit, FileName) DEF_VECTOR(TranslationUnit, MacroDefinition*, Macros) NativeLibrary::NativeLibrary() - : ArchType(ArchType::UnknownArch) + : ArchType(AST::ArchType::UnknownArch) { }