cmake: Clean up macOS install target
authorMike Schuchardt <mikes@lunarg.com>
Wed, 27 Jun 2018 21:58:49 +0000 (15:58 -0600)
committerMike Schuchardt <mikes@lunarg.com>
Tue, 10 Jul 2018 16:30:49 +0000 (10:30 -0600)
commitb7c389c9d3efe5cea722eb7395fb70529dd27566
tree0b1ccfb7b8fd9cb8519b3ea7c6ef1c3bd043e477
parent1baead7983902e276078686c88b3bb7772a10a9d
cmake: Clean up macOS install target

- Stop hardcoding CMAKE_INSTALL_PREFIX to CMAKE_BINARY_DIR so install
  products are in a predictable location
- Use install/fixup_bundle to create stand-alone app bundles for cube,
  cubepp, vulkaninfo-bundle at CMAKE_INSTALL_PREFIX
- Set INSTALL_RPATH_USE_LINK_PATH for bundle targets so fixup_bundle can
  find libraries when run from the install tree
- Remove rpath from install copy of vulkaninfo
- Remove extraneous copy of libMoltenVK.dylib from CMAKE_INSTALL_PREFIX/demos
- Update BUILD.md
BUILD.md
CMakeLists.txt
cube/CMakeLists.txt
cube/macOS/cube/cube.cmake
cube/macOS/cubepp/cubepp.cmake
vulkaninfo/CMakeLists.txt
vulkaninfo/macOS/vulkaninfo.cmake