You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
702 B

  1. #!/bin/sh
  2. scripts_dir=`cd $(dirname $0);pwd`
  3. cd $scripts_dir/..
  4. mkdir -p build_i386
  5. cd build_i386
  6. cmake -G "Xcode" -DBUILD_SHARED_LIBS="FALSE" \
  7. -DIOS_PLATFORM="SIMULATOR" \
  8. -DCMAKE_TOOLCHAIN_FILE=$scripts_dir/../iOS.cmake \
  9. -DLOG4CPLUS_SINGLE_THREADED="TRUE" \
  10. -DLOG4CPLUS_BUILD_TESTING="OFF" \
  11. -DLOG4CPLUS_QT4="OFF" \
  12. -DLOG4CPLUS_BUILD_LOGGINGSERVER="OFF" \
  13. -DLOG4CPLUS_CONFIGURE_CHECKS_PATH=$scripts_dir/../ConfigureChecks.cmake \
  14. -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=$scripts_dir/../build_i386/Binaries \
  15. $@ \
  16. $scripts_dir/../..