Fix up the mathematica docs; closes #382

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2015-01-01 16:12:53 -05:00
parent d784d455a3
commit ef74d6980e

View File

@@ -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