File: install.txt

package info (click to toggle)
yaml-cpp 0.6.3-10
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,208 kB
  • sloc: cpp: 68,100; python: 6,832; ansic: 950; makefile: 522; sh: 466
file content (24 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
*** With CMake ***

yaml-cpp uses CMake to support cross-platform building. In a UNIX-like system, the basic steps to build are:

1. Download and install CMake (if you don't have root privileges, just install to a local directory, like ~/bin)

2. From the source directory, run:

mkdir build
cd build
cmake ..

and then the usual

make
make install

3. To clean up, just remove the 'build' directory.

*** Without CMake ***

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.

(Note: this is pretty tedious. It's sooo much easier to use CMake.)