Skip to content

Instantly share code, notes, and snippets.

@nilscc
nilscc / .vimrc
Last active February 3, 2021 19:17
vimrc file
set mouse=a
set number
set encoding=utf-8
set autoindent
set smartcase " or: ignorecase
set ruler
" Expand tabs to 2 spaces
set expandtab
set ts=4

Keybase proof

I hereby claim:

  • I am nilscc on github.
  • I am 9ls (https://keybase.io/9ls) on keybase.
  • I have a public key ASBVrMBhMLBN8PM0DiTCHfPBXpKsia46VXJSGqeXnWr0ago

To claim this, I am signing this object:

#
# Configuration
#
BUILD_DIRECTORY = build
RESULTS_DIRECTORY = results
CMAKE_DIRECTORY =
MAKE = make
CMAKE = cmake
@nilscc
nilscc / makefile-for-cmake.md
Last active January 4, 2016 07:09
A Makefile for CMake

Makefile for CMake: Build your application in a separate "build" directory and keep the root directory clean.

Usage:

make                      - Compile all CMake files in build directory
make $(BUILD_DIRECTORY)   - Create build directory
make cmake                - Create build directory and run CMake
make clean                - Removes build directory
make <other>              - Forward <other> to Makefile in build directory