install.txt (653B)
1 *** With CMake *** 2 3 yaml-cpp uses CMake to support cross-platform building. In a UNIX-like system, the basic steps to build are: 4 5 1. Download and install CMake (if you don't have root privileges, just install to a local directory, like ~/bin) 6 7 2. From the source directory, run: 8 9 mkdir build 10 cd build 11 cmake .. 12 13 and then the usual 14 15 make 16 make install 17 18 3. To clean up, just remove the 'build' directory. 19 20 *** Without CMake *** 21 22 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. 23 24 (Note: this is pretty tedious. It's sooo much easier to use CMake.)