28 Commits

Author SHA1 Message Date
Shane Grant
f577fc4ce4 Turn on warnings as errors for MSVC, warning level to 3
Can't do level 4 warnings yet - need to make an upstream change to doctest
2017-02-05 22:13:08 -08:00
Tushar Maheshwari
0a908bc8c8 Make tests pass with Windows 2017-01-26 14:16:28 +05:30
Shane Grant
a8e99636f5 Merge branch 'develop_doctest' into develop
see #139
2017-01-25 10:56:38 -08:00
Shane Grant
507f97d3ad add -Wold-style-casts see #363 2016-11-28 11:53:56 -08:00
Shane Grant
29829c167e Merge branch 'FlexCoreLib-doxygen_access_from_extern' into develop
see #365
2016-11-28 10:41:27 -08:00
Shane Grant
1d67d44024 Removed boost_test as a requirement
-Now build 32 bit unit tests if portability testing is enabled
-No more boost+clang issues over std::string abi
see #139, #123
2016-11-04 16:07:00 -07:00
Shane Grant
c51095f9d3 Reverse from default negation to avoid potential confusion
relates #337
2016-10-11 11:50:28 -07:00
Caspar Kielwein
3fb59dbe6c Build doxygen documentation with separate CMakeLists.
Extracted CMakelists.txt to doc subdirectory.
Changed paths in doxyfile.in and CMakeLists accordingly.
added doc as subdirectory in main CMakeLists.txt.
2016-10-02 15:53:28 +02:00
Christoph Junghans
b8d9acc502 cmake: allow dropping -Werror from c++ flags 2016-09-07 15:57:57 -06:00
Shane Grant
fb7fd75954 Changes to support thread safety
-Make CEREAL_THREAD_SAFE be 0 or 1 instead of present or not present
-Move CEREAL_NOEXCEPT to macros.hpp
-instead of individual locks, can now use StaticObject::lock() to request a lock if CEREAL_THREAD_SAFE is enabled. If
not enabled, this call returns an empty object. The lock returned acts just like std::lock_guard, but uses
std::unique_lock internally
-Made a bunch of requests to StaticObject::getInstance const
-Added first stab at multithreaded tests with versioning and polymorphism
2016-07-29 13:40:49 -07:00
Christopher Bläsius
eb5f8fb4cd cmake option if statement 2016-07-28 12:24:06 +02:00
Christopher Bläsius
73b2f8b1ec add new compile option "THREAD_SAFE" for enabling mutex locks on static objects 2016-07-28 11:49:10 +02:00
Kalle Huttunen
fc17bd94e6 Include Boost as system library
This prevents compilation warnings/errors from Boost code.
2016-01-22 10:00:59 +02:00
Tamas Kenez
f2ccfea1f8 cmake: don't overwrite CMAKE_CXX_STANDARD if it's already higher 2015-10-07 11:02:34 +02:00
Tamas Kenez
cd7346ff3d cmake improvements (install target)
- add install target to install config-module for
  which creates an INTERFACE library
- add unittest to test config-module
- add option to skip tests and install only
- fix MSVC compatibility problem in CMakeLists.txt
2015-10-06 14:32:40 +02:00
Randolph Voorhies
06d9fc4f8a Whoops, shouldn't have committed that CMakeLists 2014-09-02 11:51:38 -07:00
Randolph Voorhies
28f9841fdb Fixing issues with icc. refs #120
In sandbox_vs.cpp, there is a very strange issue with calling
traits::is_input_serializable that causes icc 15.0.0 to crash.
Everything else works great though.
2014-09-02 11:49:47 -07:00
Viktor Gal
3781ab3d49 Fix Boost header path inclusing if found 2014-08-07 10:59:57 +08:00
Björn Esser
869b2b2cda add CMake-option 'SKIP_PORTABILITY_TEST' 2014-08-05 19:43:15 +02:00
Shane Grant
fd73e8066f Modify cmake so that performance gets built 2014-05-07 15:45:51 -07:00
Shane Grant
83abae0906 fix cmake files, accidentally removed quotes from earlier commit 2014-04-15 12:07:24 -07:00
Shane Grant
b2730c6351 Fixing merge problem 2014-04-15 11:59:41 -07:00
Shane Grant
6824a6f46f Adding quotes to cmake stuff
Also made it so that performance actually gets built

see #84
2014-03-28 14:24:28 -07:00
Shane Grant
43855f2e5c Added update-doc target 2014-03-11 17:23:23 -07:00
Shane Grant
a6e144a5a2 Working on update-doc 2014-03-11 17:06:58 -07:00
Shane Grant
a9d711060b Adding doc target 2014-03-11 17:02:36 -07:00
Randolph Voorhies
9bd06b6118 Adding portability test 2014-03-11 16:28:37 -07:00
Randolph Voorhies
ba2ca7c94d Switching to CMake and splitting unittests 2014-03-11 14:50:04 -07:00