fema-team team mailing list archive
-
fema-team team
-
Mailing list archive
-
Message #00023
Fwd: Eclipse project
---------- Forwarded message ----------
From: James Newell <jameslnewell@xxxxxxxxx>
Date: Thu, Sep 8, 2011 at 5:22 PM
Subject: Re: Eclipse project
To: Themiya Jayasinghe <themiya.jayasinghe@xxxxxxxxx>
Think this was all:
Library:
- Create a new *Makefile Project with Existing Code*
- Enter name of project and existing location
- Right click on the project and select *C/C++ Build*
- Select the *Default* build configuration
- Select *Builder Settings*
- Enter the location of bjam in the lib folder (relative to the project
workspace variable) *Build Command* (e.g.
${workspace_loc:/fema-framework-library}../../../lib/boost_1_46_1/bjam
)
- Select *Behaviour*
- Tick *Build* and enter the *fema_framework_library*
- Tick *Clean* and enter *--clean*
- Create a new *Configuration* called *Documentation*
- Enter the location of bjam in the lib folder (relative to the project
workspace variable otherwise it will break for someone else) *Build
Command* (e.g.
${workspace_loc:/fema-framework-library}../../../lib/boost_1_46_1/bjam
)
- Select *Behaviour*
- Tick *Build* and enter the *documentation.html*
- Tick *Clean* and enter *--clean*
- Select *C/C++ Build *>* Settings *>* Binary Parsers* and select the
right parser for your platform (otherwise debugging doesn't work with
Eclipse)
- Select* C/C++ General *> *Paths and Symbols *> *Includes* > *GNU C++*
- Add a workspace include to itself (so Eclipse can find
fema/algorith/Algorithm.hpp etc)
- Add includes for C++
Tests:
- Create a new *Makefile Project with Existing Code*
- Enter name of project and existing location
- Right click on the project and select *C/C++ Build*
- Select the *Default* build configuration
- Select *Builder Settings*
- Enter the location of bjam in the lib folder (relative to the project
workspace variable otherwise it will break for someone else) *Build
Command* (e.g.
${workspace_loc:/fema-framework-library}../../../lib/boost_1_46_1/bjam
)
- Select *Behaviour*
- Tick *Build* and enter the *fema_framework_tests*
- Tick *Clean* and enter *--clean*
- Select *C/C++ Build *>* Settings *>* Binary Parsers* and select the
right parser for your platform (otherwise debugging doesn't work with
Eclipse)
- Select* C/C++ General *> *Paths and Symbols *> *Includes* > *GNU C++*
- Add a workspace include to the library
- Add a workspace include to the boost library (relative to the project
workspace variable otherwise it will break for someone else)
- Add includes for C++
App:
- Create a new *Makefile Project with Existing Code*
- Enter name of project and existing location
- Right click on the project and select *C/C++ Build*
- Select the *Default* build configuration
- Select *Builder Settings*
- Enter the location of bjam in the lib folder (relative to the project
workspace variable) *Build Command* (e.g.
${workspace_loc:/fema-framework-library}../../../lib/boost_1_46_1/bjam
)
- Select *Behaviour*
- Tick *Build* and enter the *fema_app_mqap*
- Tick *Clean* and enter *--clean*
- Select *C/C++ Build *>* Settings *>* Binary Parsers* and select the
right parser for your platform (otherwise debugging doesn't work with
Eclipse)
- Select* C/C++ General *> *Paths and Symbols *> *Includes* > *GNU C++*
- Add a workspace include to the library
- Add includes for C++
On 08/09/2011, at 4:57 PM, Themiya Jayasinghe wrote:
Hi James,
If you get a chance, please email me the steps for manually setting up
the project in eclipse.
Thanks.
jt