summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2019-01-16 02:12:29 +0100
committerMatthias Melcher <git@matthiasm.com>2019-01-16 02:12:29 +0100
commit563baced13e4961500dccd35b19e9b063c93dc9c (patch)
tree1ffaea2a4963c0a7f652a9b87be7d84f3453a7c5 /test
parent6de1c93e545e8100a4e907938dccd9b0564e12a2 (diff)
Android CMake: fix, more autogenerated files
Fixed a bug that would cause an error is Android Build was NOT defined. Creating list of test targets automatically.
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 64bed5ca3..409f44e71 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -39,11 +39,17 @@ include_directories(
)
#######################################################################
+## testing creation of Android Studio IDE files
+if (OPTION_CREATE_ANDROID_STUDIO_IDE)
+CREATE_ANDROID_IDE_FOR_TEST(arc arc.cxx fltk)
+CREATE_ANDROID_IDE_FOR_TEST(hello hello.cxx fltk)
+CREATE_ANDROID_IDE_FOR_TEST(input input.cxx fltk)
+endif (OPTION_CREATE_ANDROID_STUDIO_IDE)
+
+#######################################################################
if(NOT ANDROID)
CREATE_EXAMPLE(adjuster adjuster.cxx fltk)
CREATE_EXAMPLE(arc arc.cxx fltk)
-CREATE_ANDROID_IDE_FOR_TEST(arc arc.cxx fltk)
-CREATE_ANDROID_IDE_FOR_TEST(hello hello.cxx fltk)
CREATE_EXAMPLE(animated animated.cxx fltk)
CREATE_EXAMPLE(ask ask.cxx fltk)
CREATE_EXAMPLE(bitmap bitmap.cxx fltk)