Skip to content

Instantly share code, notes, and snippets.

View richelbilderbeek's full-sized avatar
🦖
Eating code for breakfast

Richèl Bilderbeek richelbilderbeek

🦖
Eating code for breakfast
View GitHub Profile
#include <array>
#include <functional>
template <typename... T>
using common_type_t = typename std::common_type<T...>::type;
template <typename T>
using remove_cv_t = typename std::remove_cv<T>::type;
template <bool, typename T, typename... U>
@richelbilderbeek
richelbilderbeek / Crosscompile bash script
Last active December 20, 2015 12:09
My favorite crosscompile script: it crosscompiles a Qt Creator .pro file using MXE and copies the result to ~/bin
#!/bin/bash
myqmake="../../Libraries/mxe/usr/i686-pc-mingw32/qt5/bin/qmake"
#Cleaning up
rm *.pro.user
rm Makefile
rm Makefile.*
rm -r release
rm -r debug
rm ui_*.h