Files
CoolProp/dev
..
2014-06-08 20:39:09 +02:00
2014-06-06 21:38:15 +02:00

Building

There are a number of ways to build the library:

Directly with Make

There is a non-windows makefile in the wrappers/SharedLibrary that can be used to make the library.

With CMAKE

The platform independent cmake program can be used. In using cmake, CoolProp uses the standard procedure:

  1. Make a build directory and cd to build
  2. cmake ..
  3. make
  4. make

Although step 1 and 2 does depend on the OS, step 3 and 4 will depend on how the program is being built. If on windows the cmake gui can be used which will perform steps 1 and 2, if using visual studio then the build process will need to be run twice.

Make needs to be called twice, the first make step will dynamically generate a number of files from the JSON fluid definitions - the second make run will actually generate the program.

Testing

CMake generates a target for testing. You can build the test executable with make testRunner.

Geting Boost shared_ptr

Download Boost sources Expand zip file Command prompt in root

bootstrap
b2 tools/bcp