Types de compilation/en

= Compilation types =

CMake options
The CMake program, used as chain of development for the VLE project, defines five compilation types of the project:


 * None : no optimizatio, -O0.
 * Debug : add debugging symbols, -g.
 * Release : optimization and no debugging codes, -O3 -DNDEBUG.
 * RelWithDebInfo : optimization and include debugging symbols -O2 -g.
 * MinSizeRel : optimization for size and no debugging codes, -Os -DNDEBUG.

By default, CMake set no compilation type. The default options of the compiler are thus used. To change compilation mode it is necessary to use the CMAKE_BUILD_TYPE variable :

Personal options
You can also use your own compilation "flags" by defining CFLAGS and CXXFLAGS variables: