From d6e710bd8fb97db1f7e63a6a7917a95a2ae60e6f Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Tue, 12 Jul 2022 08:14:06 +0200 Subject: [PATCH] - updated version number in cmake file to 1.6.0 - updated README --- CMakeLists.txt | 4 ++-- README.md | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d88f37de..8e70c5b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,8 +11,8 @@ project(libiec61850) ENABLE_TESTING() set(LIB_VERSION_MAJOR "1") -set(LIB_VERSION_MINOR "5") -set(LIB_VERSION_PATCH "1") +set(LIB_VERSION_MINOR "6") +set(LIB_VERSION_PATCH "0") set(LIB_VERSION "${LIB_VERSION_MAJOR}.${LIB_VERSION_MINOR}.${LIB_VERSION_PATCH}") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/third_party/cmake/modules/") diff --git a/README.md b/README.md index 28f1f707..e423d312 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,27 @@ To build the library and run libiec61850 applications with GOOSE support on Wind ## Building with the cmake build script +### Build on Linux + +You have to install the build tools and cmake (e.g. the packages "build-essental" and "cmake" on Ubuntu 20.04) + +Execute the following commands: + +`mkdir build` + +`cd build` + +`cmake ..` + +`make` + +Optionally execute the following stop to install the library and header files in system directories: + +`sudo make install` + + +### Build on Windows with Visual Studio + With the help of the cmake build script it is possible to create platform independent project descriptions and let cmake create specific project or build files for other tools like Make or Visual Studio. If you have cmake installed fire up a command line (cmd.exe) and create a new subdirectory in the libiec61850 folder. Change to this subdirectory. Then you can invoke cmake. As an command line argument you have to supply a "generator" that is used by cmake to create the project file for the actual build tool (in our case Visual Studio 2015).