cmake_minimum_required(VERSION 3.10)

set(CMAKE_CXX_STANDARD 17)

project(@apkCMake_cmakeProjectName@)

# armeabi-v7a requires cpufeatures library
#include(AndroidNdkModules)
#android_ndk_import_module_cpufeatures()

set(HELLOIMGUI_IN_APKCMAKE_GENERATED_PROJECT ON)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_SOURCE_DIR}/hello_imgui_subrepo/hello_imgui_cmake/")

set(HELLOIMGUI_USE_SDL2 ON CACHE STRING "" FORCE)
set(HELLOIMGUI_HAS_OPENGL3 ON CACHE STRING "" FORCE)
set(HELLO_IMGUI_ANDROID_ASSETS_FOLDER ${CMAKE_SOURCE_DIR}/../src/main/assets)
add_subdirectory(appDir)
if (NOT TARGET hello_imgui)
    add_subdirectory(hello_imgui_subrepo)
endif()
add_subdirectory(SDL)
