Commit graph

68 commits

Author SHA1 Message Date
Chris Kitching
6a98a6c964
Add CMake option to disable building the tests (Default builds) 2016-05-11 01:06:32 +01:00
Robert Marki
192a692034 Generate package config files in cmake's current binary directory
Generate the config files of the package in CMAKE_CURRENT_BINARY_DIR
instead of CMAKE_BINARY_DIR because the later will refer to the main
project's binary directory if the library is included in the project
using the add_subdirectory command.
2016-04-25 11:55:03 +02:00
Robert Marki
b1a2e9a715 Create an install target for the project
- define the project's version in the cmake listfile
- create a config and config version file for the cmake package
- install the json.hpp file and the package's targets, config and
config version files
2016-04-25 10:27:19 +02:00
Robert Marki
30e396043a Export library target and store build directory in package registry 2016-04-25 09:36:05 +02:00
Robert Marki
28f73ed406 Refactor CMake listfile to define an interface imported library
Define the library as an interface imported library so other targets
can use the library as a dependency and use the interface properties
of the library.
2016-04-24 19:56:20 +02:00
emvivre
4f27004dd5 remove invalid parameter '-stdlib=libc++' in CMakeLists.txt 2015-09-22 16:57:18 +02:00
Niels
afb17d7fac typo... 2015-07-16 19:39:18 +02:00
Niels
c89ca716c5 switch off optimizations in MSVC 2015-07-16 19:32:19 +02:00
Niels
5084159048 added changes from #105: MSVC fixes
- additionally, switch off optimization flags to maybe allow build to
complete on AppVeyor
2015-07-16 18:45:19 +02:00
Niels
4f92731823 remove warnings on unit tests (from #88) 2015-06-20 14:16:57 +02:00
Niels
14e54b2b72 Appveyor 2015-04-27 22:53:46 +02:00
Niels
e7da0b4b7c Appveyor 2015-04-26 23:56:42 +02:00
Niels
c16ee07601 Appveyor 2015-04-26 23:31:22 +02:00
Niels
35485c05e3 Appveyor 2015-04-26 23:21:16 +02:00
Niels
1e20bfa14a another try 2015-04-26 22:47:40 +02:00
Niels
befd90dead cleanup 2015-01-31 20:13:11 +01:00
Raphael Isemann
0fcc414995 More testing and updated CMake to allow calling private functions from the tests 2015-01-10 18:28:53 +01:00
Raphael Isemann
0f371b4086 CMake and coverage report 2015-01-05 11:19:42 +01:00