default := {
  "source-directory": ".",
  "generator": "Unix Makefiles",
  "options": {
    "CMAKE_BUILD_TYPE": "Release"
  }
};

dev := default << {
  "options": {
    "CMAKE_BUILD_TYPE": "Debug"
  }
};

jenkins :=  {
  "build-directory" : "build"
};

release := default << {
  "clean": true,
  "options": {
    "CMAKE_BUILD_TYPE": "RelWithDebInfo"
  }
};

lin64 := default << {
  "options" : {
      "STATIC_LIBSTDCXX" : true,
      "QT5_STATIC": "ON"
  }
};

win64 := default << {
  "options": {
    "CMAKE_TOOLCHAIN_FILE": "/opt/x-tools/x86_64-w64-mingw32/cmake/toolchain-x86_64-w64-mingw32.cmake",
    "STATIC_BUILD": "ON",
    "QT5_STATIC": "ON"
  }
};

win32 := default << {
  "options": {
    "CMAKE_TOOLCHAIN_FILE": "/opt/x-tools/i686-w64-mingw32/cmake/toolchain-i686-w64-mingw32.cmake",
    "STATIC_BUILD": "ON",
    "QT5_STATIC": "ON"
  }
};

musl := default << {
  "options": {
    "CMAKE_TOOLCHAIN_FILE": "/opt/x-tools/x86_64-woggioni-linux-musl/cmake/toolchain-x86_64-woggioni-linux-musl.cmake",
    "QT5_STATIC": "ON",
    "STATIC_BUILD": "ON"
  }
};
