Dan Shechter
c75d665310
Make Windows10SDK detection more robust
...
- fixes #1145
7 years ago
KallynGowdyYetiCGI
58b2f80b35
Implement xcode-select based path selection
8 years ago
Marco Zille
2b9bf29a70
Fixed VS2017 system includes search error #957 ( #958 )
8 years ago
Joao Matos
45232ec8a2
Lookup Mono SDK path on Windows registry.
8 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
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
c0ce70d025
Removed useless output when VS 2017 is not installed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Victor Peter Rouven Müller
22c8541e2a
Fixing WinSDK include path code ( #822 )
...
Signed-off-by: realvictorprm <mueller.vpr@gmail.com>
9 years ago
Dimitar Dobrev
120e386ad9
Fixed a few warnings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
4dc3b4e133
Restored some unused but needed code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 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>
9 years ago
realvictorprm
8f8031584c
Added complete support for VS 2017
9 years ago
Dimitar Dobrev
dd814fe5d5
Fixed all warnings in the C# code.
9 years ago
Joao Matos
6e0a079f7a
Extracted Windows kits toolchain code into its own method.
9 years ago
Joao Matos
cc773d1848
Refactored code to get VS SDK toolchain version in its own method.
9 years ago
Joao Matos
c55a8fa79c
Make it easier to map between the enum-based and integer-based VS versions.
9 years ago
Joao Matos
4cb6da31ce
Fixed FindMonoPath to return Mono base path and not binary path.
9 years ago
Dimitar Dobrev
6cbd047392
Fixed the auto-compilation not to use an old and buggy CS compiler on Windows.
...
Fixes https://github.com/mono/CppSharp/issues/688 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
e7f9178ff4
Added Mono toolchain finding support code.
9 years ago
Joao Matos
c56b6311ed
Extracted managed parser code to CppSharp.Parser project.
10 years ago
Joao Matos
ce62f5c4cc
Fixed Windows SDK selection when we cannot find VS reported version.
...
Fixes issue #636 , thanks to @dowitdo for the debugging and fix.
10 years ago
Joao Matos
e95012441c
Fixed Windows UCRT toolchain code to not combine absolute paths.
...
Previously the partial UCRT path obtained from `ucrtPaths` would always start with `\`.
Combined with the behavior of Path.Combine(p1,p2) to always return p2 when it is absolute, we'd always end up with an incomplete partial path.
10 years ago
Dimitar Dobrev
1223e41e3a
Ensured the collected Windows SDK include dirs exist.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
6c027ff292
Fixed the build with Visual Studio 2015.
...
Fixes https://github.com/mono/CppSharp/issues/556 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
triton
229e0266dd
Setup MSVC compiler version from VS version.
...
Should help fix the compile errors with VS 2015 from issue #556 .
10 years ago
triton
4f1e619a62
Moved MSVC options setup from parser to MSVC toolchain code.
10 years ago
triton
26e9301b7d
Enable the Microsoft ABI when setting up for MSVC toolchain.
11 years ago
triton
023262647b
Workaround VS 2015 support since Clang cannot handle it yet.
...
Errors:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtr1common(227,22): error: use of undeclared identifier 'char16_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtr1common(233,22): error: use of undeclared identifier 'char32_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(408,14):error: use of undeclared identifier 'char16_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(414,14):error: use of undeclared identifier 'char32_t'
C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(938,2): error: Must define a target architecture.
C:\Program Files (x86)\Windows Kits\8.1\include\um\oaidl.h(473,31): error: cannot combine with previous 'type-name' declaration specifier
11 years ago
triton
39dee146e2
Improved VS 2015 support on MSVC toolchain by looking up Universal CRT paths.
11 years ago
triton
e203aff22d
Added Windows Kits SDK support code to MSVC toolchain.
11 years ago
triton
4a6c55d6d8
Documented ToolchainVersion fields.
11 years ago
triton
06f57f29c4
Formatting / code quality fixes.
11 years ago
triton
4034a407f3
Added Visual Studio / MSVC toolchain support.
11 years ago
triton
31f84154ce
Small non-functional fixes to Xcode toolchain code.
11 years ago
triton
0ec9ced29e
Rename the Xcode toolchain class.
11 years ago
triton
23685ba188
Move the Xcode toolchain code to its own file.
11 years ago