Browse Source

When generating tests glue, wrap the declaration in a namespace with the library name, this makes sure there are no conflicts between native and managed types.

pull/28/head
triton 12 years ago
parent
commit
0c51ea6862
  1. 2
      src/Generator/Utils/TestsUtils.cs

2
src/Generator/Utils/TestsUtils.cs

@ -21,7 +21,7 @@ namespace CppSharp.Utils @@ -21,7 +21,7 @@ namespace CppSharp.Utils
options.LibraryName = name;
options.GeneratorKind = kind;
options.OutputDir = "../gen/" + name;
options.GenerateLibraryNamespace = false;
options.GenerateLibraryNamespace = true;
options.SharedLibraryName = name + ".Native";
// Workaround for CLR which does not check for .dll if the

Loading…
Cancel
Save