mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
904 B
904 B
Installation
Requirements
- CMake
- git
- C#
For ubuntu and friends, you will need to install Mono C# as well as the compiler using
# Install Mono version of C#
sudo apt-get install mono-mcs mono-runtime
For windows, download the Visual Studio 2010 version of C# (other versions should be fine too)
Once mono c# is installed, you can run the builder and tests using
# Check out the sources for CoolProp
git clone https://github.com/CoolProp/CoolProp
# Move into the folder you just created
cd CoolProp
# Make a build folder
mkdir -p build/Csharp
# Move into that folder
cd build/Csharp
# Build the makefile using CMake
cmake ../.. -DCOOLPROP_JAVA_MODULE=ON -DBUILD_TESTING=ON
# Make the C# files (by default files will be generated in folder install_root/Csharp relative to CMakeLists.txt file)
make install
# Run the integration tests
ctest --extra-verbose