diff --git a/cmake_eclipse.sh b/cmake_eclipse.sh index a262fc89c..ecc2f1bab 100755 --- a/cmake_eclipse.sh +++ b/cmake_eclipse.sh @@ -4,8 +4,7 @@ cmake -E make_directory build rm -rf {.,build}/CMakeCache.txt CMakeFiles # Create the Cmake generators cmake -E chdir build cmake -G "Eclipse CDT4 - Unix Makefiles" .. $@ -[ $ANDROID_NDK ] && cmake -E chdir Android cmake -G "Eclipse CDT4 - Unix Makefiles" -DANDROID=1 -DCMAKE_TOOLCHAIN_FILE=android.toolchain.cmake -DLIBRARY_OUTPUT_PATH_ROOT=. .. $@ \ - && sed -i.bak 's/all<\/value>/install\/strip<\/value>/g' Android/.project +[ $ANDROID_NDK ] && cmake -E chdir Android cmake -G "Eclipse CDT4 - Unix Makefiles" -DANDROID=1 -DCMAKE_TOOLCHAIN_FILE=android.toolchain.cmake -DLIBRARY_OUTPUT_PATH_ROOT=. .. $@ # Assume Eclipse user uses OpenGL, comment out below sed if this is not true sed -i.bak 's/OpenGL/Direct3D9/g' Doxyfile # Create symbolic links in the build and Android directories