cppbestpractices icon indicating copy to clipboard operation
cppbestpractices copied to clipboard

Collection of C++ Best Practices at Puppet Labs

Results 10 cppbestpractices issues
Sort by recently updated
recently updated
newest added

https://sourceforge.net/p/predef/wiki/OperatingSystems/

Discuss static vs shared linking in boost, the BOOST_STATIC option in Leatherman (requires options.cmake), how to determine the order to include Boost static libraries (magic).

Use Leatherman logging, locale, i18n support. Use http://www.boost.org/doc/libs/1_56_0/libs/locale/doc/html/collation.html for sorting.

Find a place to add http://www.lurklurk.org/linkers/linkers.html as a reference for linking.

Add a CMake Cheatsheet with - CMAKE_PREFIX_PATH - CMAKE_INSTALL_PREFIX - `-G` and useful targets - CMAKE_BUILD_TYPE

https://www.jetbrains.com/clion/help/quick-start-guide.html for CLion Probably need to write one for Xcode.

Facter/Leatherman/etc should redirect here for most of the environment setup. Have a section talking about how to get gcc/cmake/boost etc setup. Then each project can setup their own unique dependencies...

How dependency lookup works (essentially, PATH) How to setup a multi-project environment (add things to PATH or use Vanagon and install everything to the same location)

Update with gcc/boost from myget. Put curl and boost in same directory. Use CMAKE_INSTALL_PREFIX instead of CMAKE_PREFIX_PATH (for multiple projects) and add CMAKE_INSTALL_PREFIX/bin to PATH.