|
@@ -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
|