36 Commits

Author SHA1 Message Date
Shane Grant
1de8fe8947 Update version to 1.3.1 2022-01-16 21:54:56 -08:00
Anton Blanchard
107f8c2aa9 Use GNUInstallDirs instead of hard wiring install directories
On a multilib setup cmake files should go into lib64.
2022-01-16 20:59:04 -08:00
Claus Klein
48fda3f0a6
cleanup cmake files to be a little more moderen (#659)
* cleanup cmake files to be a little more moderen

keep the source tree free of build artifacts
cmakelint the cmake files too

* fix cmake setup errors on CI

fix APPLE clang builds too

* CI needs support for realy history cmake V3.6

fix typo in cmake files using add_test() commnds

* One step more to use modern cmake

Prevent to modifiy compile and linker FLAGS and to set global includes
pathes

* fix CI build problems with older cmake versions

prepare cleanup cmake list file

* final cleanup

use Config.cmake.in and install hole cmake config files

* Fix cpp17 PORTABILITY_TEST linker problem

add missed target_link_libraries()

* hopefully prevent windows test problems
2020-11-17 12:50:06 -08:00
Shane Grant
1bce4362db Add option to disable performance test build 2019-10-23 22:06:18 -07:00
Shane Grant
afe6ab9883 Update Travis CI
Fixed up clang, gcc, and osx (clang) compilation with Travis CI.

All builds run the tests, though not all tests pass. Fixing the tests
will come next.
2019-05-13 22:34:36 -07:00
Shane Grant
d16feb9de8 Appveyor updates + boost testing fixes
-Fixes appveyor CI and adds additional MSVC versions
-Puts boost variant test building behind boost requirement
2019-05-08 19:51:29 -07:00
Shane Grant
7cf1cba5f1 Cmake updates and boost disambiguation for #448
Also addresses #473. A solution that prevents code duplication is the
ultimate goal but this will be fine for now.
2018-03-13 19:27:34 -07:00
Shane Grant
59621d6023 Working towards cpp17 tests
Progress towards #448

Lots of warnings from g++7.2, these are addressed in #423 which hasn't been merged yet.
CMAKE can be cleaned up a bit - may put back in the ability to use older cmake and just throw errors as necessary,
otherwise just force people to use at least cmake 3.1
2017-11-05 19:07:31 -08:00
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