From 729fb4d30b658ccc4d0ba8d89b52d06146e02f7f Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Sat, 5 Sep 2009 23:05:39 +0000 Subject: [PATCH] Updated the CMake file for 0.2.0 release, and added install.txt --- CMakeLists.txt | 2 +- install.txt | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 install.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ea3e2d..e038ab9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ if(CMAKE_COMPILER_IS_GNUCC) endif(CMAKE_COMPILER_IS_GNUCC) set(YAML_CPP_VERSION_MAJOR "0") -set(YAML_CPP_VERSION_MINOR "1") +set(YAML_CPP_VERSION_MINOR "2") set(YAML_CPP_VERSION_PATCH "0") set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML_CPP_VERSION_PATCH}") diff --git a/install.txt b/install.txt new file mode 100644 index 0000000..74bba87 --- /dev/null +++ b/install.txt @@ -0,0 +1,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.) \ No newline at end of file