Dimitar Dobrev
201d28e64d
Make all libraries of CppSharp use .NET Standard
...
This makes them usable with .NET Framework, .NET Core and .NET 5.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
4 years ago
Dimitar Dobrev
c18d047daf
Ensure a tested specialization is really generated
...
The only function to use the specialization in question is actually ignored because the types of two of its parameters aren't supported. This was hidden by an otherwise redundant definition of a C++ symbol which is now removed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
josetr
7446ed2927
Change `GenerateSequentialLayout` default value to `true`
5 years ago
josetr
9b69f14705
Move GeneratorTestFixture type to its own file.
5 years ago
josetr
dbbcb6dbdf
Upgrade to .NET Core 3.1 and improve build system
5 years ago
Dimitar Dobrev
7d2d8f291e
Revert "Generate code from tests where libraries appear"
...
This reverts commit fa47194dae
.
# Conflicts:
# build/Tests.lua
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
fa47194dae
Generate code from tests where libraries appear
...
This is necessary in order to easily find the compiled symbols as dependencies and target of platform invocation.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
josetr
0d32121eee
Fix the generation of sequential layouts
5 years ago
Dimitar Dobrev
fbbda2020f
Remove the direct usages of the parsing options
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Dimitar Dobrev
0e39ab705a
Import native DLL-s (tests and parser) with MSVC
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
5 years ago
Rokas Kupstys
944c9f4f7f
Enable debug information generation for all tests.
8 years ago
Joao Matos
b395d21e63
Minor code cleanup to use interpolated string formatting.
8 years ago
Joao Matos
46e697b0fb
Improved generator test runner to find tests in embedded setup.
8 years ago
Dimitar Dobrev
fed72f5910
Ensured the C# gen correctly imports a native library with no target triple.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
8646d3e077
Obsoleted the direct settings for wrapped libraries in the options.
...
Modules should be used instead.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e7f9b2975c
Updated NUnit to the latest version (3.6) to fix a test failing at AppVeyor.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
d50ee38470
Fixed GeneratorTests.GetOutputDirectory to work with VS for Mac.
8 years ago
Joao Matos
cb3e9edf44
Remove IgnoreParseWarnings option and replace functionality with Verbose option.
9 years ago
Joao Matos
fbf43067d7
Refactor the diagnostics system.
9 years ago
Dimitar Dobrev
b2a872f431
Merged the passes for properties and made the result non-optional.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
a77bc2a91f
Separate parser options from driver options.
...
This will break API compatibility, you will have to update your options setup code.
9 years ago
João Matos
d03dc8013a
Remove workarounds due to improper handling of Clang builtin include dirs.
9 years ago
Dimitar Dobrev
9b51e30643
Fixed the option for output name-spaces to allow eliminating them.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
b41dc261ed
Added support for directly wrapping entire sets of interdependent libraries.
...
It's realised by using modules. Users now have to define one module for each library they want wrapped while setting the driver up.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
e289dd47bf
Extended the class for modules with include and library dirs, and defines.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
João Matos
bbe7c1cb72
Added an hardcoded path to the GCC builtin headers for Travis Linux build.
10 years ago
João Matos
464476b200
Clean up previous fix by using Environment.Is64BitProcess instead of invoking Mono --version.
...
Thanks to Dimitar for the idea.
10 years ago
João Matos
5ff8efa085
Fixed some tests under OS X by auto detecting the Mono bitness.
10 years ago
João Matos
f23cd53010
Disable this workaround for now as it's not working as intended.
...
Will fix this in another way later.
10 years ago
João Matos
f799e0fb82
Rewrite Clang resource directory lookup logic in test driver.
...
Due to this code we ended up multiple Clang resource directories in the path which is a problem because Clang's stdint.h uses an include_next<> logic and it was getting messed up with the multiple headers in the lookup path.
10 years ago
Dimitar Dobrev
bbcf12550f
Prevented a crash in the tests on Mono because of a Mono bug.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
f6b25203a0
Revert "Enable verbose mode in tests driver for Travis troubleshooting."
...
This reverts commit 05236a89af
.
10 years ago
triton
05236a89af
Enable verbose mode in tests driver for Travis troubleshooting.
10 years ago
Dimitar Dobrev
ce597a399c
Fixed the build on VS 2015.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
49ba3146a5
Extracted Mono detection logic to Platform.
10 years ago
triton
27e537c59b
Extract platform detection logic into its own file.
10 years ago
triton
a9101ece64
Rename the diagnostic emit overloads so they're more uniform.
10 years ago
João Matos
e484f6f7e7
Fixed the OS X tests build to use the Xcode toolchain lookup support.
10 years ago
Stephan Sundermann
a125b055b0
Add missing reference
...
For some reason premake didn't rebuild when I changed this and no compile error was thrown.
10 years ago
Stephan Sundermann
9b3313d424
Use libc++ on osx
10 years ago
Joao Matos
c44985a2a4
Improved test driver to add Clang's built in header path to the system lookup paths.
11 years ago
triton
1802470013
Kill the old parser (good riddance :).
11 years ago
triton
7f927db6c8
Renamed ASTContext parameters.
11 years ago
triton
e6856aeb4c
Reverted these changes that accidentally crept in.
11 years ago
triton
e95a2929a8
Fixed handling of property indexers in the CLI generator.
11 years ago
triton
9390feb330
Added new regex-based testing framework to test patterns against the generated code.
12 years ago
triton
1b7947538a
Move all the testing infrastructure to CppSharp.Generator.Tests.
12 years ago
triton
b58a99ebf3
Some fixes to the codebase to work correctly with the new parser bindings.
12 years ago
triton
4d70b60700
Renamed ASTContext parameter from "lib" to "ctx".
12 years ago
triton
b808117566
Cleaned up the default diagnostics output to be more concise.
12 years ago