Difference between revisions of "EiffelVision Cocoa"
(New page: Category:Projects Category:EiffelVision2 Category:Macintosh =Overview= This project was created with the goal of running Eiffel Studio natively on the Mac and succeeds the pre...) |
(→Build instructions) |
||
Line 16: | Line 16: | ||
* Locate EiffelStudio's config.sh file (probably /Applications/MacPorts/Eiffel65/studio/spec/macosx-x86/include/config.sh) and add the flag -ObjC to the definition of the ccflags, like this: | * Locate EiffelStudio's config.sh file (probably /Applications/MacPorts/Eiffel65/studio/spec/macosx-x86/include/config.sh) and add the flag -ObjC to the definition of the ccflags, like this: | ||
ccflags='-ObjC -pipe -no-cpp-precomp -fno-common -fPIC' | ccflags='-ObjC -pipe -no-cpp-precomp -fno-common -fPIC' | ||
− | * | + | * Now open the .ecf file of your project and add the following line to your target: |
+ | <variable name="vision_implementation" value="cocoa"/> | ||
+ | alternatively you can add another target which will allow you to easily compile both, a GTK+ and a Cocoa version of your application: | ||
+ | <target name="cocoa" extends="classic"> | ||
+ | <variable name="vision_implementation" value="cocoa"/> | ||
+ | </target> | ||
+ | If you want to compile Eiffel Studio there is already a target called "bench_cocoa" which you can select. | ||
= Contact = | = Contact = | ||
* [[User:Dfurrer| Dfurrer]] | * [[User:Dfurrer| Dfurrer]] |
Revision as of 03:15, 20 August 2009
Overview
This project was created with the goal of running Eiffel Studio natively on the Mac and succeeds the previous Carbon based vision implementation.
Build instructions
- Get the latest EiffelStudio for the Mac. If you have MacPorts installed you can do this by typing
port install eiffelstudio65
- Check out the latest source code from the trunk
svn co https://svn.origo.ethz.ch/eiffelstudio/trunk
- Set your EIFFEL_SRC and ISE_LIBRARY to the directory
export EIFFEL_SRC=/directory/to/your/checkout/trunk/Src export EIFFEL_SRC=$ISE_LIBRARY
- Locate EiffelStudio's config.sh file (probably /Applications/MacPorts/Eiffel65/studio/spec/macosx-x86/include/config.sh) and add the flag -ObjC to the definition of the ccflags, like this:
ccflags='-ObjC -pipe -no-cpp-precomp -fno-common -fPIC'
- Now open the .ecf file of your project and add the following line to your target:
<variable name="vision_implementation" value="cocoa"/>
alternatively you can add another target which will allow you to easily compile both, a GTK+ and a Cocoa version of your application:
<target name="cocoa" extends="classic"> <variable name="vision_implementation" value="cocoa"/> </target>
If you want to compile Eiffel Studio there is already a target called "bench_cocoa" which you can select.