Jelle
70407a4658
Misc/changes fixes ( #1926 )
...
* Misc changes/fixes
* Add color to console output
* Code cleanup
* Fix C++20 compile error
2 years ago
Jelle
f0b44b4421
Code cleanup and some optimizations ( #1911 )
...
* Code cleanup
* Run symbol conversion in parallel
* Fix build error in p/invoke move
* Fix debug compile
* Address review comments
2 years ago
Jelle
e4979d185d
Fix `DEBUG` not being defined in C# `DebugOpt` configuration ( #1908 )
2 years ago
Christian Howe
3f923b1c64
Fix Xcode C++ include path ( #1844 )
2 years ago
João Matos
0e1e46836d
Update to Clang 16 for MSVC 2022 support ( #1724 )
...
* support clang 15.0.7
* Fix Premake archive logic to work with official releases.
* Try and upgrade CI to latest OS versions.
* Try and fix LLD link call in parser.
* CI fixes.
* Enable VS 2019 and VS 2022 for LLVM windows workflow.
* Update to a more recent LLVM revision.
* More build fixes.
* Use the system linker for linking symbols libraries outside Windows.
Builtin lld is giving some weird linking errors when linking with the
new LLVM version. We probably need to set some custom options. Using the
system linker should be a better idea anyway, more robust and future
proof.
---------
Co-authored-by: you74674 <you74674@gmail.com>
3 years ago
João Matos
117567d61f
Add initial Emscripten generator. ( #1712 )
4 years ago
josetr
eb5031bf4c
Format files
5 years ago
Dimitar Dobrev
1e8bfb11e3
Remove looking MSVC headers up with COM
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
josetr
62e9119c63
Create a single nuget package that supports windows / linux / macos
6 years ago
josetr
4ade453647
Manage package versions centrally
6 years ago
josetr
1926e69435
Only use premake for native projects and improve c# projects.
6 years ago
josetr
dbbcb6dbdf
Upgrade to .NET Core 3.1 and improve build system
6 years ago
josetr
777f011ac7
Prevent projects from picking up obj files that are generated sometimes ( #1508 )
6 years ago
Dimitar Dobrev
0a15871751
Add an option for building with Visual Studio 2019
...
Fixes https://github.com/mono/CppSharp/issues/1390 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
6 years ago
Joao Matos
fa5dbb9010
Improve Xcode toolchain lookup to be more robust.
...
Fixes https://github.com/mono/CppSharp/issues/1259 .
Signed-off-by: Joao Matos <joao@tritao.eu>
7 years ago
Dimitar Dobrev
a11111f18f
Deleted useless output.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
c3629a2aad
Initial support for building under .NET Core.
8 years ago
Dan Shechter
c75d665310
Make Windows10SDK detection more robust
...
- fixes #1145
8 years ago
Dimitar Dobrev
b7d3d36ff1
Renamed members related to indentation for more clarity.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Brahim Hadriche
d5a1210aa4
Write error messages to stderr, renamed `messages` to `errorMessages`
9 years ago
KallynGowdyYetiCGI
58b2f80b35
Implement xcode-select based path selection
9 years ago
Marco Zille
2b9bf29a70
Fixed VS2017 system includes search error #957 ( #958 )
9 years ago
Joao Matos
45232ec8a2
Lookup Mono SDK path on Windows registry.
9 years ago
Dimitar Dobrev
b93674f261
Simplified and optimised the MSVC tool-chain.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
f992cd8280
Removed the out parameter when looking for a version of Visual Studio.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
3cf7c6aa0c
Moved the searching for a VS SDK to a separate method.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Atsushi Eno
8631baab59
Linux toolchain can be supplied in the same spirit in path probing on Mac.
...
i.e. just assume "/usr" here.
9 years ago
Joao Matos
a560297ab8
[driver] Compilation platform is now nullable by default and validated to the host platforms.
9 years ago
Dimitar Dobrev
6fa9778859
Cleaned up MSVCToolchain.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
5aaa0a0351
Fixed a crash when trying to use a VS version missing from the system.
...
Fixes https://github.com/mono/CppSharp/issues/922 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
b4bedeb448
Fixed the addition of Windows SDK include dirs when using VS 2017.
...
Fixes https://github.com/mono/CppSharp/issues/865 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
a9ee1fda5e
Fixed crashes when printing messages containing braces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
c0ce70d025
Removed useless output when VS 2017 is not installed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
5857c2d17c
Split compilation options into Compilation.cs.
10 years ago
Victor Peter Rouven Müller
d44cd6a154
Fix which should prevent any bugs
10 years ago
Victor Peter Rouven Müller
22c8541e2a
Fixing WinSDK include path code ( #822 )
...
Signed-off-by: realvictorprm <mueller.vpr@gmail.com>
10 years ago
Dimitar Dobrev
120e386ad9
Fixed a few warnings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
4dc3b4e133
Restored some unused but needed code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
087cb25775
Added a fall-back when trying to use the latest version of VS.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
realvictorprm
8f8031584c
Added complete support for VS 2017
10 years ago
Dimitar Dobrev
96aa703b60
Fixed the printing of errors during compilation of native symbols.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
dad52a2d5b
Clean up display paths of generated build project files.
...
Fixes issue #639 . https://github.com/mono/CppSharp/issues/639
10 years ago
Joao Matos
9d9aebf2eb
Remove duplicated TargetPlatform type in CLI.
10 years ago
Joao Matos
73e458cb81
Added general-purpose compilation options from Embeddinator.
10 years ago
Joao Matos
fbf43067d7
Refactor the diagnostics system.
10 years ago
Joao Matos
1426f21ff8
Rename TextDiagnosticPrinter to ConsoleDiagnostics.
10 years ago
Dimitar Dobrev
dd814fe5d5
Fixed all warnings in the C# code.
10 years ago
Joao Matos
6e0a079f7a
Extracted Windows kits toolchain code into its own method.
10 years ago
Joao Matos
cc773d1848
Refactored code to get VS SDK toolchain version in its own method.
10 years ago
Joao Matos
c55a8fa79c
Make it easier to map between the enum-based and integer-based VS versions.
10 years ago