Skip to content

Instantly share code, notes, and snippets.

View SebastianMosiej's full-sized avatar

Sebastian Mosiej SebastianMosiej

View GitHub Profile
@SebastianMosiej
SebastianMosiej / TestRunner.h
Created November 5, 2017 15:27
Qt TestRunner to minimize dependencies
#ifndef TESTRUNNER_H
#define TESTRUNNER_H
// std includes
#include <algorithm>
#include <functional>
#include <iostream>
#include <list>
#include <iterator>
@SebastianMosiej
SebastianMosiej / cVimrc
Last active March 27, 2018 09:17
Configuration for cVim Chrome plugin
let blacklists = ["https://www.kongregate.com/*"]
set numerichints
set typelinkhints
let barposition = "bottom"
@SebastianMosiej
SebastianMosiej / windeployqt.cmake
Created February 3, 2023 07:30
CMake function to deploy Qt library after binary build
if (WIN32)
find_package(Qt6Core REQUIRED)
# get absolute path to qmake, then use it to find windeployqt executable
get_target_property(_qmake_executable Qt6::qmake IMPORTED_LOCATION)
get_filename_component(_qt_bin_dir "${_qmake_executable}" DIRECTORY)
endif()
function(windeployqt target)