neovim/cmake
Rui Abreu Ferreira db7fdcd0ba MSVC: Build third-party dependencies as release DLLs
Using /MT was causing issues when building luarocks, revert it, use the
dynammic runtime and generate release DLLs for the dependencies.
Some refactoring was required because for linking cmake looks for the
import libraries (.lib) but on runtime executables we need the .dll files
to be in the same folder.

The DLLs are placed in the bin/ folder in order for nvim.exe to run
during the build and tests. The install target installs the DLLs with
the nvim binary - uses GetPrerequisites to find runtime DLLs.

Some minor issues that required adjustments:
- [MSVC] FindMsgpack.cmake now looks for msgpack_import.lib instead of
  msgpack.lib
- The lua-client fails to find libuv.lib, instead it looks for uv.lib,
  added second copy of the file to the install command.
- [MSVC] CMAKE_BUILD_TYPE affects the output paths, default to Release.

Part of these changes are credited to @jasonwilliams200OK who fixed the
third-party recipes to consistently use the same build type.
2016-08-07 21:57:28 +01:00
..
ConvertPo.cmake
FindIconv.cmake build: pull iconv detection into its own FindIconv.cmake file 2014-11-08 16:22:35 -05:00
FindJeMalloc.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
FindLibIntl.cmake Fix #1484: search gettext subdir for header 2014-11-17 19:31:48 -05:00
FindLibTermkey.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
FindLibUV.cmake cmake: Don't use check_library_exists for Win32 API libraries 2015-11-29 23:48:01 -05:00
FindLibVterm.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
FindLuaJit.cmake MinGW: Add libluajit-5.1 lib name to FindLuaJit 2015-12-02 23:07:22 -05:00
FindMsgpack.cmake MSVC: Build third-party dependencies as release DLLs 2016-08-07 21:57:28 +01:00
FindUnibilium.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
GenerateHelptags.cmake.in Be more explicit about the lack of X11 integration 2015-11-10 20:10:55 -05:00
GetCompileFlags.cmake version: Add compilation info. 2014-11-09 18:34:57 +01:00
GetGitRevisionDescription.cmake CMake: Force use of project directory to look for Git data. 2015-11-01 16:19:52 +01:00
GetGitRevisionDescription.cmake.in
i386-linux-gnu.toolchain.cmake Travis: Refactor CI files, use container infrastructure. 2015-07-08 07:42:16 -03:00
InstallHelpers.cmake Build: Use GNUInstallDirs, install man pages #2649 2015-05-17 14:57:43 -04:00
LibFindMacros.cmake
LuaHelpers.cmake cmake: Allow building without Luajit 2016-05-19 17:55:19 +01:00
mingw32-w64-cross-travis.toolchain.cmake Travis: Add Mingw third-party builds 2015-05-15 17:55:02 +03:00
RunLint.cmake cmake: allow linting a specific file 2016-02-25 11:31:34 +01:00
RunMsgfmt.cmake
RunMsgmerge.cmake
RunTests.cmake Pass busted the path to the detected Lua interpreter 2016-07-13 00:37:50 -07:00
RunTestsLint.cmake Satisfy testlint. 2016-04-28 19:30:17 +02:00
RunXgettext.cmake
WindowsDllCopy.cmake MSVC: Build third-party dependencies as release DLLs 2016-08-07 21:57:28 +01:00