Bladeren bron

Reverted back decision to also build samples on Android platform.

Although samples should also work for Android platform, currently there is no available mechanism to package each sample app into individual *.apk.
Yao Wei Tjong 姚伟忠 12 jaren geleden
bovenliggende
commit
d953b36d62
1 gewijzigde bestanden met toevoegingen van 4 en 2 verwijderingen
  1. 4 2
      Source/CMakeLists.txt

+ 4 - 2
Source/CMakeLists.txt

@@ -96,8 +96,10 @@ add_subdirectory (Engine)
 # Urho3D tool targets
 add_subdirectory (Tools)
 
-# Urho3D samples (should work also on iOS and Android)
-if (ENABLE_SAMPLES)
+# Urho3D samples
+# Samples are built on iOS platform too when enabled
+# Although samples should also work for Android platform, currently there is no available mechanism to package each sample apps into individual *.apk
+if (NOT ANDROID AND ENABLE_SAMPLES)
     add_subdirectory (Samples)
 endif ()