How to integrate Eclipse with TDAQ s/w build environment (CMT/C++, gcc4.7)

1. Install Eclipse C++ IDE (64bit version! It will use a lot of RAM) from http://www.eclipse.org/downloads/ or using your system package manager (e.g. version 8.0.2.201202111925 is available in standard Ubuntu 12.04)

2. Run Eclipse, open or create new workspace which is your CMT working area for specific release, defined by /cmt/project.cmt (if you start from empty area you need to create this file manually).

3. Add Subversive SVN Integration plug-in (for SVN 1.6!) from Help->Install New Software

4. Open SVN Repository Exploring Perspective (Window->Open Perspective), check-out required package. It will appear in C++ Project explorer (open C++ Perspective) in the right panel as a C++ project.

5. Open project Properties->Builders->New and create builder named e.g. CMT_builder, with the following fields:

Location: /afs/cern.ch/atlas/project/tdaq/cmt/bin/eclipse-cmtbuild.sh

Working Directory: select your <package>/cmt directory, it will appear as e.g. ${workspace_loc:/mts/cmt}

Arguments: nightly.max x86_64-slc6-gcc47-opt

6. Now enjoy Project->Build Project. It will run CMT build in Eclipse console.

Now let's try to integrate it further and make it to index our s/w:

7. Project->New->Convert to C++ project, choose Project Type: Makefile project, Toolchain: other

8. Project->C/C++ Build->Discovery Options-> Check in "Automate discovery ..."

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-04-03 - AndreiKazarov
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback