mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-01 03:00:13 -04:00
Fix up the mathematica docs; closes #382
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ Place the shared library for your platform (windows: CoolProp.dll, OSX: CoolProp
|
||||
|
||||
FileNameJoin[{$BaseDirectory, "SystemFiles", "LibraryResources", $SystemID}]
|
||||
|
||||
If this directory doesn't yet exist, create it. At the command prompt, you should be able to call ``FindLibrary[ "CoolProp"]``
|
||||
If this directory doesn't yet exist, create it. At the command prompt, you should be able to call ``FindLibrary["CoolProp"]``
|
||||
|
||||
There is a small example file ``example.nb`` that demonstrates how to call the functions in the DLL which can be downloaded from :sfdownloads:`Mathematica`
|
||||
|
||||
@@ -53,19 +53,19 @@ You need to just slightly modify the building procedure::
|
||||
|
||||
2. Pick a toolchain (A or B)
|
||||
|
||||
A. Building using Visual Studio::
|
||||
A: Building using Visual Studio::
|
||||
|
||||
# Build the makefile using CMake
|
||||
cmake .. -DCOOLPROP_MATHEMATICA_MODULE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -G "Visual Studio 10 2010 Win64"
|
||||
# Build the makefile using CMake
|
||||
cmake .. -DCOOLPROP_MATHEMATICA_MODULE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -G "Visual Studio 10 2010 Win64"
|
||||
|
||||
If you have a different version of Visual Studio installed, replace the generator name in the ``-G`` argument
|
||||
If you have a different version of Visual Studio installed, replace the generator name in the ``-G`` argument
|
||||
|
||||
B: Building using MinGW::
|
||||
|
||||
# Build the makefile using CMake
|
||||
cmake .. -DCOOLPROP_MATHEMATICA_MODULE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -G "MinGW Makefiles"
|
||||
# Build the makefile using CMake
|
||||
cmake .. -DCOOLPROP_MATHEMATICA_MODULE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -G "MinGW Makefiles"
|
||||
|
||||
3. Actually do the build
|
||||
3. Actually do the build::
|
||||
|
||||
# Make the shared library
|
||||
cmake --build . --config Release
|
||||
|
||||
Reference in New Issue
Block a user