Paul Novotny
500db60f89
Include cmake files in install
...
This adds yaml-cpp-config.cmake, yaml-cpp-config-version.cmake, and
yaml-cpp-targets.cmake to the cmake install. As a result, cmake's
find_package can easily find yaml-cpp for software that depends on
yaml-cpp.
Add code to install cmake files to $CMAKE_INSTALL_PREFIX/CMake on
Windows, which is the de-facto standard.
Closes jbeder/yaml-cpp#336 jbeder/yaml-cpp#127
2016-03-27 20:39:41 -04:00
Rodrigo Hernandez
57805dfd6a
Removed quoted variables to avoid CMP0054 policy warnings on CMake 3.3.0.
2016-01-31 11:44:04 -06:00
Matt Blair
24fa1b3380
Replace Boost usage with C++11 features
...
- Adds 'std=c++11' compiler flags
- Replaces boost::type_traits with std::type_traits
- Replaces boost::shared_ptr with std::shared_ptr
- Replaces std::auto_ptr with std::unique_ptr
- Replaces raw pointers with std::unique_ptr in ptr_vector, ptr_stack, and SettingChanges
- Replaces boost::noncopyable with deleted copy and assignment operators
- Replaces boost::next with std::next
- Replaces boost::enable_if with std::enable_if
- Replaces boost::is_convertible with std::is_convertible
- Replaces ptrdiff_t with std::ptrdiff_t
- Replaces boost::iterator_facade and boost::iterator_adaptor with std::iterator, borrowing the 'proxy reference' technique from boost
- Removes Boost dependency from CMakeLists
- Formats changed files using clang-format
2016-01-10 22:44:15 -05:00
Jiri Hoogland
4376ebacaa
Add PIC compile flag for GNU/CLang.
...
- ensures shared library code is position-independent.
2016-01-10 20:58:47 -06:00
Jesse Beder
b57efe94e7
Bump version to 0.5.3.
2016-01-10 12:11:40 -06:00
Jesse Beder
998d7bf31e
Bump version to 0.5.2
2015-03-29 21:31:56 -05:00
Jesse Beder
391111c055
Merge core
2015-01-24 14:40:55 -06:00
Jesse Beder
0c8a539361
Fix warnings on visual studio, including changing unsigned to std::size_t
2015-01-24 14:38:22 -06:00
Jesse Beder
9880b608b9
Merge from core
2015-01-24 12:26:16 -06:00
Jesse Beder
a397ad2925
Add yaml-cpp-config.cmake and yaml-cpp-config-version.cmake files for importing yaml-cpp into external projects (through find_package).
2015-01-24 11:21:26 -06:00
Jesse Beder
541fef1545
Merge from core
2014-03-25 22:07:21 -05:00
Jesse Beder
66e5c07b4f
Extend format build target to all build tools
2014-03-25 22:01:35 -05:00
Jesse Beder
dea3428ce0
Merge from core
2014-03-25 00:07:38 -05:00
Jesse Beder
edf8ebe246
Remove stray log message in cmake
2014-03-25 00:04:04 -05:00
Jesse Beder
e0b293e757
Add test and util sources to make format
2014-03-25 00:02:16 -05:00
Jesse Beder
dc8d91ce45
Add make format target to run clang-format
2014-03-24 23:46:03 -05:00
Jesse Beder
d59586630e
Fix clang compiler settings, and properly set up warnings so they don't interfere with gtest and gmock
2014-03-24 23:34:26 -05:00
Jesse Beder
dd0f2577ae
Merged make build fix from core
2013-06-18 08:20:51 -05:00
Jesse Beder
e40ed4f94e
Restrict make-specific targets to only be added with make
2013-06-18 08:12:23 -05:00
Jesse Beder
fa6a71e37f
Bumped version to 0.5.1
2013-04-13 18:37:33 -05:00
Jesse Beder
6c8b369312
Updated CMakeLists from new-api
2012-05-19 15:36:22 -05:00
Jesse Beder
572e940c83
Bumped version to 0.3.0
2012-01-21 02:51:56 -06:00
Jesse Beder
b688c93050
Put all the old-api stuff back in the main folder, for simplicity
2012-01-20 23:55:39 -06:00
Jesse Beder
1723523c43
Removed the new API from the default branch
2012-01-20 23:50:39 -06:00
Jesse Beder
92a35581d7
Added boost find/includes to the new API CMake instructions
2012-01-11 13:19:31 -06:00
Jesse Beder
e8e5d4bc40
Fixed typo in computing private headers (no effect on the build, just for the project files)
2011-10-20 21:50:47 -05:00
Jesse Beder
f87dced5c9
Fixed installation (we now install the whole include header tree)
2011-10-18 14:55:31 -05:00
Jesse Beder
70e1eb3f9c
Fixed the #ifdefs for the api stuff
2011-10-18 14:47:35 -05:00
Jesse Beder
77cc54585f
Couldn't get the copy command to work for yaml.h, so switched to configure_file
2011-10-18 14:43:48 -05:00
Jesse Beder
e69f51ee16
Split the yaml.h file into new/old API, which we'll then copy to yaml.h at build time (so the right one gets installed)
2011-10-18 00:16:51 -05:00
Jesse Beder
ee795d7e3e
Merged with the main branch, which just updated version count to 0.2.7
2011-09-18 00:26:18 -05:00
Jesse Beder
d9c7bcf32f
Set the default build to the old API, and removed the duplicate spec test implementation for the old api
2011-09-17 23:46:48 -05:00
Jesse Beder
976e8b184c
Bumped version to 0.2.7
2011-09-14 01:23:15 -05:00
Jesse Beder
2d06df474b
Fixed up the old API stuff, and removed the util/value (since it's no longer needed)
2011-09-10 23:11:28 -05:00
Jesse Beder
0d1b5224c8
Major switch from Value -> Node. The library compiles with the new API, but tests are still oldies, and don't compile
2011-09-10 17:57:23 -05:00
Jesse Beder
6e03bebeb0
Implemented (untested) the value builder
2011-09-09 23:28:21 -05:00
Jesse Beder
a530630f1c
Started implementing node_data
2011-09-07 00:45:28 -05:00
Jesse Beder
248b18a2d0
Sketched more of the implementation
2011-09-06 23:11:38 -05:00
Jesse Beder
50474b6b9f
Fixed includedir for the .pc.cmake file
2011-05-29 02:17:49 +00:00
Jesse Beder
d98687afc3
Set version to 0.2.6
2011-03-30 01:33:02 +00:00
Jesse Beder
f42580be41
Switched project label to use 'nicer' suffix (e.g., md instead of /MD)
2011-03-21 23:03:01 +00:00
Jesse Beder
6e0e9554c6
Added eol-style=native prop to missing files
2011-03-17 02:06:10 +00:00
Jesse Beder
dc5bd4afce
Fixed mixed line endings
2011-03-17 02:04:34 +00:00
Jesse Beder
9a72702a61
Added option to disable compilation of contrib code
2011-03-16 01:10:57 +00:00
Jesse Beder
943d000ab3
Refactored parse.cpp so that VS doesn't complain, added MinSizeRel build setting, and fixed numbering in the spec tests
2011-03-03 20:01:32 +00:00
Jesse Beder
ced50538fe
Tiny formatting change in CMake file
2011-03-02 21:09:38 +00:00
Jesse Beder
4d95e4da74
Merged the debuggable branch's CMakeLists.txt (and added a build for RelWithDebInfo) - note that the options are only for gcc
2011-03-02 05:02:01 +00:00
Jesse Beder
802cc6bcd6
Merged contrib folders from the graphbuilder-api branch, including the recursive search in CMakeLists.txt
2011-03-02 04:48:04 +00:00
Jesse Beder
04bc13caf8
Merged CMakeLists.txt from issue 87 - now it's cleaner, and supports Windows much better
2011-03-02 04:37:55 +00:00
Jesse Beder
337cb553d0
Fixed emitting colon at end of scalar bug
2010-12-03 21:52:04 +00:00