From 407e134f47fd6228effbfc66c4b46eb3ff7468e7 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Sat, 18 Apr 2015 18:55:27 -0700 Subject: [PATCH] init --- Platforms.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Platforms.md diff --git a/Platforms.md b/Platforms.md new file mode 100644 index 0000000..e432bb5 --- /dev/null +++ b/Platforms.md @@ -0,0 +1,25 @@ +We use **cmake**, so a wide-variety of platforms *might* be supported. + +## Travis CI +We run builds and tests in Travis for +- **linux** +- Mac **osx** (*coming soon*!) + +For *each* os, we try both: +- **gcc** +- **clang** + +See [Travis docs](http://docs.travis-ci.com/user/ci-environment/) for exact versions. See `.travis.yml` for details of our build matrix. + +## Appveyor +We run builds and tests in appveyor for +- Windows 32-bit +- Windows 64-bit + +See [Appveyor docs](http://www.appveyor.com/docs/installed-software) for exact versions. It currently uses VisualStudio 2013, but we are told that [VS 2012 works fine](https://github.com/open-source-parsers/jsoncpp/issues/246) too. + +## Others +Lots of older compilers and other platform variants might work too. If you find something broken, please let us know. + +## C++ version +Different branches of our code expect different versions of C++. Travis/Appveyor simple runs the latest C++ compiler possible, and our own `#ifdef` macros handle the differences. The `master` branch expects **C++11**. The `0.y.z` branch can use something earlier than even C++0x; for the benefit of Android, it does not even require C++11 *libraries*. (Hopefully we can relax that constraint someday.) \ No newline at end of file