Add an osinclude.h below each OS directory, redirects by platform macro

* Linux folder has been renamed to Unix, to match defines and so that it
  compiles on OS X.
* This removes the need for a per-platform include search path for the
  right OS folder
This commit is contained in:
baldurk 2015-11-16 18:03:28 +01:00
parent 08dee03d18
commit 876a0e392e
12 changed files with 54 additions and 6 deletions

View file

@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 2.8)
add_library(OSDependent STATIC ossource.cpp osinclude.h)
install(TARGETS OSDependent
ARCHIVE DESTINATION lib)