Skip to content

DevGuide: How to compile CxxProf

Nils Brinkmann edited this page May 7, 2014 · 10 revisions

CxxProf uses a mix of CMake and Python to generate build-files and compile its components.

How to compile CxxProf

  1. Download and Install Python 2.7
  2. Check out the CxxProf Core Repository
  3. The getThirdparty.py script in the script directory automates getting the thirdparty for the following environments:
  4. Go to script and run build.py. You'll see how everything gets build
  5. If everything went good you'll see a Build successful message at the end of the process (in your console). You can find the project files generated by CMake in your build directory. The compiled components are located in your install directory.

##Use your own Thirdparty To use your own Thirdparty you need to compile the components which you can find in the Thirdparty for Microsoft VC120 repository for your compiler. In addition to that you need to define your own setEnv.cmake. The easiest way is to use the existing file as a template and use build.py to see if everything builds as expected.

##Which systems are tested? CxxProf is currently developed and tested on the following systems:

###Windows

  • Main development system
  • Windows 7 64bit
  • Visual Studio 2013 Express (vc120)

###Linux 32bit

  • Debian 6.0.9 (squeeze) 32bit
  • gcc 4.4.5 (Debian 4.4.5-8)

###Linux 64bit

  • Ubuntu 13.10 (saucy) 64bit
  • gcc 4.8.1 (4.8.1-10ubuntu9)

###Continuous Integration

Service Status System
Travis CI Build Status Ubuntu 64bit, gcc 4.6.3
Ubuntu 64bit, clang 3.4
drone.io Build Status Ubuntu 64bit, gcc 4.6.3