Skip to content

stdcm/cpp-advanced-training

 
 

Repository files navigation

C++ CI

Creative Commons License
Code snippets for Advanced C++ training by Pascal HAVÉ is licensed under CC BY-NC-SA 4.0

For more details about this training, contact hpwxf@haveneer.com.

cpp-advanced-training

  • Any file filename.cpp is automatically compiled using extra files filename.h* filename--*.*

  • Any file filename--unittest.cpp is a google test and is automatically compiled using extra files filename.h* filename--*.*

  • Any file filaname.cxx is not compiled and usually contains explicit bugs

  • type.h contains tool type(obj) to get printable type name for given object argument

  • Files in src/modules have a specific build rules

Build with conan

mkdir build
cd build 
conan install ..
cmake -DCMAKE_TOOLCHAIN_FILE=conan_paths.cmake ..

CMake options

  • -DENABLE_STATIC_ANALYSIS=ON|OFF : enable/disable static analysis while compiling

  • -DCMAKE_CXX_COMPILER_LAUNCHER=ccache : enable ccache as compiler cache

Third party libs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.3%
  • CMake 5.8%
  • Other 1.9%