neovim/cmake
John Szakmeister 0d35369324 build: install with the correct permissions
The install() command will create the parent directories, but it does so
with the user's umask.  We want to do our best to make sure the correct
permissions are being set, without clobbering existing permissions.

To do this, this commit introduces an install_helper(), which is similar
in signature to the install() command, to help ensure that directories
are created ahead of the actual install() command.  This will attempt to
use 0644 permissions for files and 0755 permissions for directories by
default--though they can be overridden.

To make this work correctly, without trying to introduce some mechanism
with setting the umask, it meant that there's a small portion that makes
use of an "internal" version of the file() command.  It has been tested
on CMake 2.8.11, 2.8.12, and 3.0.2, and works correctly on all versions.

This fixes #1201 and #1086.
2014-09-22 05:56:52 -04:00
..
ConvertPo.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
FindLibIntl.cmake Add cmake platform checks 2014-07-15 10:43:21 +02:00
FindLibUV.cmake Removed unnecessary PATHS from cmake modules 2014-07-08 05:06:09 -04:00
FindLuaJit.cmake Revamp the build system. 2014-03-21 15:22:00 -04:00
FindMsgpack.cmake deps: Update to the experimental msgpack v5 branch 2014-09-12 13:19:50 -03:00
GenerateHelptags.cmake CMake: Use DESTDIR for helptags generation. 2014-08-23 18:05:41 -04:00
i386-linux-gnu.toolchain.cmake Configure travis to perform a 32-bit build 2014-04-22 21:55:59 -03:00
InstallHelpers.cmake build: install with the correct permissions 2014-09-22 05:56:52 -04:00
LibFindMacros.cmake add LibFindMacros CMake macro library 2014-02-26 07:08:26 -03:00
LuaHelpers.cmake Refactor the lua dependency checking. 2014-07-11 19:28:54 -04:00
RunMsgfmt.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
RunMsgmerge.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
RunUnittests.cmake Update busted to 2.0.rc3. 2014-09-11 20:03:35 +02:00
RunXgettext.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00