Dimitar Dobrev
6e55913c5a
Fixed the script for LLVM to handle paths with spaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
4bf9da7804
Updated the CI for macOS to use the latest Mono.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
59b4b0de6b
[build] Update Premake binary for Linux.
8 years ago
Joao Matos
460e98bd93
[build] Update to a Vagrant box that actually works.
8 years ago
Joao Matos
6443e811c3
[build] Update provision scripts deprecated Premake code.
8 years ago
Joao Matos
e1b9cde0e1
[build] Compile.sh script now has improved error handling.
...
Signed-off-by: Joao Matos <joao@tritao.eu>
8 years ago
DevSidious
07ea284431
[parser] Added LLVM target initialization and supporting libraries for parsing inline assembly.
...
Fixes #923
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
b7d5b2568f
[build] Update some deprecated Premake build code.
8 years ago
Dimitar Dobrev
4d177b317d
Switched the Windows CI to Visual Studio 2017.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
142b3be9f1
Added a default build config file and an option to disable config generation.
8 years ago
Dimitar Dobrev
f16c229f27
Updated premake for Windows to the latest version.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
2d69ead3ca
Fixed os.ishost check so we do not call is_64_bits_mono_runtime on Windows.
8 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
Joao Matos
e6077448a0
Update Premake5 to fix Nuget bug.
...
https://github.com/premake/premake-core/pull/858
8 years ago
Joao Matos
184f678f38
Use dotnetframework instead of framework Premake command.
8 years ago
Joao Matos
66637ccd31
Default to .NET Framework 4.6 in Premake.
8 years ago
Abhinav Tripathi
2ccdc59fc0
Fix the typo in LLVM.lua ( #906 )
...
Prevented projects from being generated using GenerateProjects.bat
8 years ago
Kimon Topouzidis
01677b0cb1
Fixed the generated #includes when renaming output files. ( #887 )
...
Fixes #868
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
Dimitar Dobrev
cbd1e0e53c
Fixed the macOS build with the new Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
5da324dcf8
Link LLVM's BinaryFormat library last to fix Linux symbol linkage.
8 years ago
Joao Matos
653d0efb2c
Updated deprecated os.is() checks in Premake build scripts.
8 years ago
Joao Matos
ba130c6e6f
Updated Premake binary for Windows.
8 years ago
Dimitar Dobrev
f946eea70e
Fixed the Unix build after upgrading the Unix Clang packages.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
b52ad8b43f
Update Premake build files to latest syntax.
8 years ago
Joao Matos
6c5d51ebd8
Updated Premake binaries for Linux and macOS.
8 years ago
Joao Matos
e72661ba24
Fixed the check for Vagrant environment on build scripts.
8 years ago
Joao Matos
4fff5854c2
Update CMake version and do provisioning on Linux.
8 years ago
Joao Matos
bd2b22c580
Update build process utilities to work with Lua 5.2 in up-to-date Premake.
8 years ago
Joao Matos
709f431f9e
Upgrade the Vagrant and provisioning script to Ubuntu 16.06.
8 years ago
Joao Matos
1ebbcdf668
Fixed the LLVM build script CMake invocation to work with recent LLVM/Clang revisions.
...
This fixes the dreaded CMake error:
CMake Error at tools/clang/tools/clang-offload-bundler/CMakeLists.txt:18 (add_dependencies):
Cannot add target-level dependencies to non-existent target "clang".
8 years ago
Dimitar Dobrev
d7daed8273
Added support for VS 2017 by updating Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
b28f766d8d
[build] Fixed LLVM compilation script Lua syntax bug.
8 years ago
Joao Matos
1083ebc7af
[build] Added script to compile the codebase.
8 years ago
Dimitar Dobrev
5a289d0f00
Updated the NUnit used in Travis in order to fix a crash in it.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
b6f400dbfa
[tests] Pass --agents=1 to NUnit console test runner to fix intermittent errors.
...
See https://github.com/nunit/nunit-console/pull/183 .
Remove this workaround once we update NUnit consoler runner version.
8 years ago
Joao Matos
438db2854e
[build] Check for mono64 existence before using it for 64-bit builds.
8 years ago
Joao Matos
528fc73258
[build] Remove multi-platform builds, use the `--arch` build option instead.
8 years ago
Joao Matos
b466b17c02
[build] Rework how the target architecture is looked up at build time.
...
We now check the system Mono architecture in non-Windows platforms, this is needed since Mono 5 defaults to amd64.
8 years ago
Joao Matos
9dc880dd6a
Fixed build files to run mono64 in 64-bit non-VS builds.
8 years ago
Joao Matos
d7bc6eb279
Move "arch=" build option to helpers file and provide a default value.
8 years ago
Joao Matos
d6049dc49e
Added support for specifying build target architecture when building LLVM.
...
Fixes https://github.com/mono/CppSharp/issues/694 .
8 years ago
Dimitar Dobrev
021c3d0821
Fixed the build after the suspension of public folders in DropBox.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
3ee3a5b9a2
Implemented mapping of MSVC to VS 2017 in build scripts.
8 years ago
Joao Matos
0c168a59de
Fixed CMake generator name for VS 2017.
8 years ago
Joao Matos
304005bb0b
Updated Premake executable on Windows for VS2017 support.
8 years ago
Joao Matos
1a634a2a86
Implemented CMake VS2017 generator mapping in LLVM build script.
8 years ago
Joao Matos
649bee2511
Extracted VS version lookup code in build script.
8 years ago
realvictorprm
1662f5108f
Added support for VS 2017 project generation
...
Fixed also the regex for finding ms build tools.
It's required to open the batch files with the developer command prompt
of vs 2017 !
8 years ago
Joao Matos
b0ec4e7f5e
Fixed generated build files to directly link against "CppSharp" for test projects.
8 years ago