Directions for compiling the cisst library with ICE for the iOS:

1. If you have ice-cpp installed through MacPorts, deactivate it. CMake currently includes /opt/local/include regardless of specified include path for the ICE files. Hopefully, this will be fixed making this step unnecessary.
	sudo port deactivate ice-cpp

2. Install the iOS SDK from http://developer.apple.com/devcenter/ios/index.action This script has been test with versions 4.2 and 4.3.

3. Open BuildCisstICE with a text editor. Edit the settings which specify the following things:
	Where to install the compiled library files.
	The path to the cisst source code.
	The number of cores to use while compiling.
	The iOS SDK version.
	Whether to start the script at the beginning or start with CMake and the cisst library.

4. Make sure you have permissions to write to the install path as well as the source code path. If not, create the folder and change the ownership:
	sudo mkdir /opt/cisstiOS
	chown -R username /opt/cisstiOS

5. The cisst source folder will have 2 files added, which contain the CMake settings for iOS. You don't need to do anything with these files. It's taken care of by the script.
	iphone.cmake
	iphone-simulator.cmake

6. ./BuildCisstICE to compile and install everything. The script will prompt you to customize the CMake settings for compiling cisst. This script has been tested with only the following components on. You shouldn't have to change any other settings.
	BUILD_LIBS_cisstCommon
	BUILD_LIBS_cisstMultiTask
	BUILD_LIBS_cisstOSAbstraction
	BUILD_LIBS_cisstStereoVision
	BUILD_LIBS_cisstVector
	CISST_MTS_HAS_ICE