Skip to content

Instantly share code, notes, and snippets.

@codingforfun
codingforfun / akeneo-web-api.json
Last active September 8, 2023 01:19
Modified Akeneo Swagger Definition
This file has been truncated, but you can view the full file.
{
"swagger": "2.0",
"info": {
"title": "Akeneo PIM REST API",
"version": "1.0.0"
},
"host": "demo.akeneo.com",
"schemes": [
"https"
],
@codingforfun
codingforfun / README.md
Last active October 14, 2015 15:31
How to configure CMake based projects to flexible switch between use of GCC, CLang and IceCC

How to configure CMake based projects to flexible switch between use of GCC, CLang and IceCC

Idea

It would be nice to switch between different compiler systems based on current requirements. I.e. CLang is known to produce better error messages especially with C++ templates, GCC might be the reference compiler and Icecream supports faster development by reducing compile times.

Since all 3 system produce compatible binary outputs it would be nice to switch without the need to rebuild everything, i.e. dependencies etc. Ideally switch is possible to just run a single build.

Challenge: CMake doesn't support switching compiler for an already configured build system. Normally you would have to delete your build directory and reconfigure or maintain different build directories.