GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBMROOT » General » Effective C++
How to see the -Weffc++ warnings in a directory [message #13068 is a reply to message #13067] Fri, 17 February 2012 09:12 Go to previous messageGo to previous message
Volker Friese is currently offline  Volker Friese
Messages: 365
Registered: April 2004
Location: GSI CBM
first-grade participant
From: *gsi.de
Here now the description how to use CMake to publish the results on our DashBoard.

Add the following lines for the wanted directories, e.g.


"rich/"
"littrack/"
"KF/"
"L1/"

at the end of this part in the CTestCustom.cmake file after FairTSBufferFunctional.h and comment the lines with
directories you are not interested in.
If you want to avoid svn updates please comment the following line in CbmRoot_test.cmake

# CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}")

Create a file (e.g. Dart_test.cfg) with the following content which defines the input for the Dart.sh script.

export LINUX_FLAVOUR=Test_Rich # change it to some meaningful name
export FAIRSOFT_VERSION=may11 # your version of the external packages
export SIMPATH=$HOME/software/SnowLeo/fair/fairsoft_may11 # your SIMPATH
export BUILDDIR=$HOME/software/SnowLeo/fair/cbmroot_dev/build # the build directory you want to use
export SOURCEDIR=$HOME/software/SnowLeo/fair/cbmroot_dev # your source directory


Run the shell script in the main source directory as follows (The last parameter is the file you have cerated in the last step)

./Dart.sh Nightly Dart_test.cfg

This will configure, build and test the code and will in the end send the results to the dashboard.

If you have any questions don't hesitate to ask me.

Ciao

Florian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Field maps available from the repository
Next Topic: Coordinate system for hit parameters
Goto Forum:
  


Current Time: Wed Dec 04 19:55:49 CET 2024

Total time taken to generate the page: 0.00752 seconds