cmake/apple: compile targets directly into the app bundle
cmake: fix win32 code path

Signed-off-by: Tim Blechmann <tim@klingt.org>
cmake cleanup
Merge pull request #1189 from timblechmann/topic/cmake_modernization

cmake/apple: compile targets directly into the app bundle