Daniel Hahler
2e14dffbb4
deps: pass LDFLAGS+=-static ( #11138 )
...
This is required when `build_old_libs=no` is used in `libtool`.
Fixes https://github.com/neovim/neovim/issues/11198
2019-10-14 15:16:58 +02:00
Justin M. Keyes
3b156664b5
build/MSVC: remove libvterm-Fix-escape-sequences-for-MSVC.patch
...
Not needed after libvterm commit:
487f21dbf6
2018-09-04 06:41:55 +02:00
b-r-o-c-k
a80f73f043
deps: Fix libvterm and libtermkey escape sequences for MSVC
...
The escape sequence `\e` is non-standard and not supported by MSVC.
It caused the terminal emulator to incorrectly interpret certain keys.
2018-06-03 22:31:02 +02:00
b-r-o-c-k
229604213e
build/windows: Add CMake script to generate headers for Libvterm
...
On Windows the CMake script will replace the Perl script used by
Libvterm to generate headers.
2018-03-18 12:51:30 -05:00
b-r-o-c-k
bf789b04f3
build/windows: Ignore whitespace when applying patches
...
The --ignore-whitespace argument was added when applying patches to
prevent failures when patched files have different line endings.
2018-03-18 12:50:39 -05:00
b-r-o-c-k
8ba8d7244f
build/msvc: Add Git as a requirement for Windows patches
2018-03-06 20:52:27 -06:00
b-r-o-c-k
de3a833ec7
Merge branch 'master' into msvc-compat
2018-03-01 22:56:59 -06:00
b-r-o-c-k
305673e923
build/msvc: Add patch for libvterm
...
The patch removes VLAs because MSVC does not support them.
2018-03-01 22:50:02 -06:00
Marco Hinz
3d2f4154b1
third-party: build all deps with debugging symbols ( #8042 )
...
When building with CMAKE_BUILD_TYPE=Debug, the dependencies are built like this:
| Dep | Defaults | Debug |
|------------|-----------|---------------------------------------------|
| unibilium | `-O2` | `make CFLAGS=-O0 DEBUG=1` |
| msgpack | `-g -O3` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` |
| libuv | `-g -O2` | `./configure CFLAGS="-O0 -ggdb"` |
| luv | `-g -O2` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` |
| libvterm | not set | `make CFLAGS=-O0 DEBUG=1` |
| libtermkey | not set | `make CFLAGS=-O0 DEBUG=1` |
| jemalloc | `-g3 -O3` | `./configure CFLAGS="-O0 -ggdb"` |
| gperf | `-g -O2` | `./configure CXXFLAGS="-O0 -ggdb"` |
| luajit | `-g -O2` | haven't checked yet |
This means that only unibilium, libtermkey, and libvterm don't build with
debugging symbols by default.
Build them with debugging symbols and optimisations that don't hinder
debugging: -Og -g
2018-03-01 10:23:21 +01:00
Rui Abreu Ferreira
723366d40b
third-party: Build libvterm in MinGW
...
Add build recipe for libvterm in MinGW, a CMakeLists.txt
file is bundled in third-party/cmake/.
2016-08-07 21:57:29 +01:00
Florian Walch
b480eb069b
CMake: Don't use existing third-party sources by default.
...
Introduce ALLOW_EXISTING_SRC_DIR option, turned off by default.
The Homebrew formula, which downloads and extracts the third-party
dependency sources before starting the build, would turn this option
ON.
2015-09-09 17:23:22 +02:00
Rui Abreu Ferreira
cca32e64cc
CMake: Build third-party deps in Windows
...
- Update recipes to build with MSVC or cross compile in Unix with Mingw
- For recipes that need to be reused, wrap recipe in CMake function
using cmake_parse_arguments
- New directory .deps/host is the install root for HOST targets, the old
.deps/usr is used for TARGET
- In windows disable builds for terminal libraries and jemalloc
- Added cmake script CopyFilesGlob.cmake to copy files using glob
cmake -DFROM_GLOB=*.h -DTO=/usr/include -P CopyFilesGlob.cmake
- New CMake variables HOSTDEPS_* can be used in cross compile recipes.
Except when the target is UNIX, since that would break 32bit builds
in 64bit Unix systems using the Travis 32bit toolchain
2015-05-15 17:55:01 +03:00
John Szakmeister
e1ad8ae724
third-party: fix some whitespace issues from the recent splitting
2015-03-10 06:04:06 -04:00
Rui Abreu Ferreira
85492e86bd
Split third-party recipes into multiple files
2015-03-09 13:24:21 +00:00