diff -r 1245c7636380 -r f1464fa10c0b project_files/Android-build/CMakeLists.txt --- a/project_files/Android-build/CMakeLists.txt Fri Jul 19 04:51:08 2013 +0300 +++ b/project_files/Android-build/CMakeLists.txt Sat Jul 27 17:23:26 2013 +0300 @@ -94,24 +94,29 @@ message(FATAL_ERROR "Couldn't find the android executable in ${ANDROID_SDK}/platform-tools or ${ANDROID_SDK}/tools.") endif() -exec_program(${HGCOMMAND} - ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL/src/core/android/SDL_android.cpp - OUTPUT_VARIABLE dontcare -) -exec_program(${HGCOMMAND} - ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL/src/main/android/SDL_android_main.cpp - OUTPUT_VARIABLE dontcare -) -exec_program(${HGCOMMAND} - ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL/src/file/SDL_rwops.c - OUTPUT_VARIABLE dontcare -) -exec_program(${HGCOMMAND} - ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL_mixer/Android.mk - OUTPUT_VARIABLE dontcare -) -exec_program(${HGCOMMAND} - ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL_ttf/Android.mk - OUTPUT_VARIABLE dontcare -) +## +# FIXME: this was useful for early version of SDL 1.3 so is most likely not needed anymore +# if so delete the files referenced here from the repository +# commenting out because it inteferes with SDL 2 builds +## +#exec_program(${HGCOMMAND} +# ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL/src/core/android/SDL_android.cpp +# OUTPUT_VARIABLE dontcare +#) +#exec_program(${HGCOMMAND} +# ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL/src/main/android/SDL_android_main.cpp +# OUTPUT_VARIABLE dontcare +#) +#exec_program(${HGCOMMAND} +# ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL/src/file/SDL_rwops.c +# OUTPUT_VARIABLE dontcare +#) +#exec_program(${HGCOMMAND} +# ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL_mixer/Android.mk +# OUTPUT_VARIABLE dontcare +#) +#exec_program(${HGCOMMAND} +# ARGS revert ${CMAKE_CURRENT_SOURCE_DIR}/SDL-android-project/jni/SDL_ttf/Android.mk +# OUTPUT_VARIABLE dontcare +#)