Jelle
399dd38d33
Add natvis files for clang/llvm types ( #1903 )
...
Should probably get these from the llvm build, but they are not included currently.
5 months ago
João Matos
bf03942a92
Auto-detect .NET target framework to use in `build.sh` ( #1864 )
...
* Auto-detect .NET target framework to use in `build.sh`.
* Remove some unused build code and files.
10 months ago
João Matos
4417dd987a
Code cleanups and improvements ( #1713 )
...
* Code cleanups.
* Run GetterSetterToPropertyPass for more generators.
* Fixed compile warning when compiling parser bindings.
* Cleanup driver code.
* Remove dead 32-bit code.
* Reduce verbosity when Options.Quiet is set.
* Remove test compile-time warnings.
* Move .NET tests to tests/dotnet.
* Remove unused AST viewer code and premake-qt submodule.
* Move tests2/ contents to tests/.
2 years ago
josetr
62e9119c63
Create a single nuget package that supports windows / linux / macos
5 years ago
josetr
d9e738f851
Add workflow files to workspace
5 years ago
josetr
1926e69435
Only use premake for native projects and improve c# projects.
5 years ago
josetr
dbbcb6dbdf
Upgrade to .NET Core 3.1 and improve build system
5 years ago
Joao Matos
8278efd338
Add options to disable tests and examples from the build.
6 years ago
Joao Matos
fdb7ddabdf
Initial integration of Clang AST viewer GUI tool.
7 years ago
Joao Matos
5dcdfa66f3
Minor build changes.
7 years ago
Joao Matos
4fcfe4e4eb
Build changes.
...
- Added support for building with Clang and LLD
- Switched to use csc.exe Roslyn compiler under Mono
- Disable most of the support for explicit pre-C++11 ABI since we do not
need it anymore
7 years ago
Joao Matos
661609176a
Rewrite build config file generation in Premake.
...
The previous version used io.output which is not needed and also badly interacts with Premake internals.
8 years ago
Mohit Mohta
416c67215c
Added passage of VS Version selected at config time to the build ( #886 )
...
Fixes #815
Fixes #814
8 years ago
Joao Matos
b52ad8b43f
Update Premake build files to latest syntax.
8 years ago
Joao Matos
528fc73258
[build] Remove multi-platform builds, use the `--arch` build option instead.
8 years ago
Joao Matos
62dbdb6bfa
Added build scripts for CLI.
9 years ago
Joao Matos
d349134180
Reworked parser bindings build scripts to be more easily re-usable.
9 years ago
Joao Matos
e2e7079866
Factor .NET framework build version setup code to fix a bug for dependent projects.
9 years ago
Joao Matos
77c871c794
Update build files to Premake5.
9 years ago
Joao Matos
c56b6311ed
Extracted managed parser code to CppSharp.Parser project.
9 years ago
Joao Matos
a237dbf1e2
Updated build files to Premake 5 conventions.
9 years ago
Dimitar Dobrev
a959f17907
Upped the required Mono/.NET to 4.5 to be able to use Roslyn.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
04f6baf0c8
Updated build objects directory to use same pattern as libraries.
10 years ago
triton
ba9c2a19be
Only try to use .NET framework 4.6 when targeting VS 2015.
...
This should bring our non-Windows CI builds back to life.
Remove this hack once we update our Premake binary builds.
10 years ago
Eugene Belyakov
fba73be01d
Added VS2015/.net 4.6 support for project files generation
10 years ago
triton
1802470013
Kill the old parser (good riddance :).
11 years ago
Tomi Valkeinen
480a06f260
Generator: Remove DriverOptions.Is32Bit
...
DriverOptions.Is32Bit is used to decide whether to use 4 or 8 byte
pointer size in VTable calculations.
Instead of having a settable Is32Bit property, use
TargetInfo.PointerWidth for this. This allows us to remove the whole
Is32Bit property, and the IS_64_BIT define.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
7021d7ca01
build: use path.join() for objdir
...
use path.join() to set objdir.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
7f612e22e5
build: remove setting libdirs in premake4.lua
...
"libdirs { libdir }" in the main premake4.lua file causes Debug_x32
directory to be added for the libdirs for all builds. I think that's a
bug in premake, as at the same place setting, say, "targetdir" works
fine.
However, setting "libdir" to "libdirs" is not needed at all, so let's remove it.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
João Matos
3b097d8379
Improved the build scripts on OSX.
...
We now ignore CLI and native projects when running the VS action under non-Windows platforms (so that Xamarin Studio can load them).
Also fixed the build to actually add the correct parser bindings sources.
11 years ago
triton
d37822638f
Split the parser-related build code into its own file.
11 years ago
triton
7c0e229a50
Include the tests in non-VS builds again.
11 years ago
Dimitar Dobrev
59e0fb9ede
Generated correct v-tables when using the Itanium ABI.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Joao Matos
b19cd1042e
Updated build scripts with OS X fixes and added some building documentation.
12 years ago
triton
4f19f3b566
Fixed the parser build setup code to work with the new options.
12 years ago
triton
7f682e41c8
Added a new option to the build to choose between parsers.
12 years ago
Dimitar Dobrev
64d825fcde
Added building support for x64 and VC++ 12.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
24184ca0fa
Added missing SetupParser() function to the build scripts.
12 years ago
triton
be0f73f471
Moved Diagnostics class to new core project.
12 years ago
triton
884c7375c4
Remove unused build code.
12 years ago
triton
b940cf186f
Include the CLI parser in VS configurations.
12 years ago
triton
bbfef9df6f
Reworked LLVM build in Premake to another file.
12 years ago
triton
57ff6bb78c
MinGW/OSX build fixes.
12 years ago
triton
a524d237e7
Updated the build for the new parser.
12 years ago
triton
3f93eb4b0e
Added P/Invoke helpers for unmanaged-unmanaged memory copies.
12 years ago
triton
608d4c19f4
Added config variable to the the build.
12 years ago
Dimitar Dobrev
d213c8c3fc
Changed the target .NET to 4.0 because the code does not make use of 4.5 features and this way it can be compiled with VS 2010.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
412a3c08ab
Remove the command line driver project.
12 years ago
triton
c488dcbfde
Prefix all the libraries and project names with CppSharp.
12 years ago
triton
44e8811b15
Update the build script.
12 years ago