Add options to skip samples (#2163)

-DFILAMENT_SKIP_SAMPLES=ON with CMake
-Pfilament_skip_samples with gradle

This change also renames CMake options specific to Filament
to avoid clashes with subprojects.
This commit is contained in:
Romain Guy
2020-02-24 18:15:33 -08:00
committed by GitHub
parent c72f622a87
commit 8eaa1f5e88
24 changed files with 80 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10)
project(filament-java)
if (NOT ENABLE_JAVA)
if (NOT FILAMENT_ENABLE_JAVA)
return()
endif()

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10)
project(filament-java)
if (NOT ENABLE_JAVA)
if (NOT FILAMENT_ENABLE_JAVA)
return()
endif()