From b7940409945face40657080b6074fc5588a0c0ad Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Tue, 29 May 2018 13:09:22 -0600 Subject: build: Add cube(pp) to install target - Modify cube and cubepp to obtain the texture image data from an include file instead of reading a PPM file at runtime. (This is the way it works for Android) This removes the need to install an image file or otherwise make an image file available in a repo build. - Add cube and cubepp to the install target. Note: The file handling code is left in place to make it easy to add a "-texture_file " option so a user can pass in a texture file. Fixes #5 --- cube/macOS/cube/cube.cmake | 1 - cube/macOS/cubepp/cubepp.cmake | 1 - 2 files changed, 2 deletions(-) (limited to 'cube/macOS') diff --git a/cube/macOS/cube/cube.cmake b/cube/macOS/cube/cube.cmake index 11be95f4..bbe244ca 100644 --- a/cube/macOS/cube/cube.cmake +++ b/cube/macOS/cube/cube.cmake @@ -10,7 +10,6 @@ set(cube_HDRS ${CMAKE_CURRENT_SOURCE_DIR}/macOS/cube/DemoViewController.h ) set(cube_RESOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/lunarg.ppm ${CMAKE_BINARY_DIR}/staging-json/MoltenVK_icd.json ${CMAKE_CURRENT_SOURCE_DIR}/macOS/cube/Resources/LunarGIcon.icns ) diff --git a/cube/macOS/cubepp/cubepp.cmake b/cube/macOS/cubepp/cubepp.cmake index e61736ef..754f5245 100644 --- a/cube/macOS/cubepp/cubepp.cmake +++ b/cube/macOS/cubepp/cubepp.cmake @@ -10,7 +10,6 @@ set(cubepp_HDRS ${CMAKE_CURRENT_SOURCE_DIR}/macOS/cubepp/DemoViewController.h ) set(cubepp_RESOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/lunarg.ppm ${CMAKE_BINARY_DIR}/staging-json/MoltenVK_icd.json ${CMAKE_CURRENT_SOURCE_DIR}/macOS/cubepp/Resources/LunarGIcon.icns ) -- cgit v1.2.3