Added target to copy appcompat.
authorArmin Novak <armin.novak@thincast.com>
Mon, 23 Jun 2014 11:29:38 +0000 (13:29 +0200)
committerArmin Novak <armin.novak@thincast.com>
Mon, 23 Jun 2014 11:29:38 +0000 (13:29 +0200)
client/Android/CMakeLists.txt

index 57de667..466e1c6 100644 (file)
@@ -61,5 +61,11 @@ else()
        set(NDK_DEBUG "0")
 endif()
 
+set(APPCOMPAT_DIR "${CMAKE_CURRENT_BINARY_DIR}/appcompat_v7")
+add_custom_target(copy_appcompat ALL
+  COMMAND ${CMAKE_COMMAND} -E copy_directory ${ANDROID_SDK}/extras/android/support/v7/appcompat ${APPCOMPAT_DIR}
+  COMMAND android update lib-project -p ${APPCOMPAT_DIR}
+)
+
 add_subdirectory(FreeRDPCore)
 add_subdirectory(aFreeRDP)