-
Notifications
You must be signed in to change notification settings - Fork 5
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.
- Download and Install Python 2.7
- Check out the CxxProf Core Repository
- The
getThirdparty.py
script in thescript
directory automates getting the thirdparty for the following environments:- CxxProf Precompiled: Microsoft Visual Compiler v100
- CxxProf Precompiled: Microsoft Visual Compiler v120
- CxxProf Precompiled: GNU gcc 4.4.5 32bit
- CxxProf Precompiled: GNU gcc 4.8.1 64bit
- If you're using another build environment please have a look at the Use your own Thirdparty chapter below before continuing.
- Go to
script
and runbuild.py
. You'll see how everything gets build - 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 yourbuild
directory. The compiled components are located in yourinstall
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 | Ubuntu 64bit, gcc 4.6.3 Ubuntu 64bit, clang 3.4 |
|
drone.io | Ubuntu 64bit, gcc 4.6.3 |