瀏覽代碼

Removed the sed command that altered the make target to install/strip as it is not needed anymore now that the stripping is done via custom command.

Wei Tjong Yao 12 年之前
父節點
當前提交
4f5763125c
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      cmake_eclipse.sh

+ 1 - 2
cmake_eclipse.sh

@@ -4,8 +4,7 @@ cmake -E make_directory build
 rm -rf {.,build}/CMakeCache.txt CMakeFiles
 rm -rf {.,build}/CMakeCache.txt CMakeFiles
 # Create the Cmake generators
 # Create the Cmake generators
 cmake -E chdir build cmake -G "Eclipse CDT4 - Unix Makefiles" .. $@
 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/<value>all<\/value>/<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
 # Assume Eclipse user uses OpenGL, comment out below sed if this is not true
 sed -i.bak 's/OpenGL/Direct3D9/g' Doxyfile
 sed -i.bak 's/OpenGL/Direct3D9/g' Doxyfile
 # Create symbolic links in the build and Android directories
 # Create symbolic links in the build and Android directories