You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
653 B

3 months ago
  1. *** With CMake ***
  2. yaml-cpp uses CMake to support cross-platform building. In a UNIX-like system, the basic steps to build are:
  3. 1. Download and install CMake (if you don't have root privileges, just install to a local directory, like ~/bin)
  4. 2. From the source directory, run:
  5. mkdir build
  6. cd build
  7. cmake ..
  8. and then the usual
  9. make
  10. make install
  11. 3. To clean up, just remove the 'build' directory.
  12. *** Without CMake ***
  13. If you don't want to use CMake, just add all .cpp files to a makefile. yaml-cpp does not need any special build settings, so no 'configure' file is necessary.
  14. (Note: this is pretty tedious. It's sooo much easier to use CMake.)