libcimpp is a deserialiser library for C++ objects from XML/RDF documents based on the Common Information Model (CIM) standards (i.e. IEC61970/61968/62325) and CGMES for the energy sector. It is part of the CIM++ project. More on CIM++ can be found here.
Supported CIM / CGMES versions:
limcimpp uses arabica as cross platform wrapper around one of the XML parsers listed in the dependencies (see below). It is recommended to use libcimpp as cmake module.
You need following software packages for libcimpp:
After getting the Git repository, create a build subdirectory and change into it:
mkdir build
cd build
For building libcimpp with the default CIM version, type:
cmake ..
make -j 4
For building libcimpp with a certain CIM version (e.g. IEC61970_16v29a
), type:
cmake .. -DUSE_CIM_VERSION=IEC61970_16v29a
make -j 4
All available CIM versions are listed in the CMakeLists.txt
build
subdirectory.C:/git/libcimpp
C:/git/libcimpp/build
Configure
and choose the Visual Studio project version, e.g.: Visual Studio 15 2017
Finish
and wait while CMake is configuring the project.Generate
to generate the Visual Studio project files.Open Project
to open the project in Visual Studio.Build -> Build Solution
. This will build the libcimpp
library.For information on how to use the library please see the cmake based example in examples/cmake. Building the example is just like building the library itself using cmake. The make example is currently not supported due to the lack of an install target for arabica.