Commit graph

27 commits

Author SHA1 Message Date
Ray Speth
044235c065 [SCons] Remove unnecessary uses of pjoin 2014-10-08 16:54:49 +00:00
Bryan W. Weber
32d5d7b8b2 [Matlab] Fix build warnings about Contents.m 2014-08-26 22:04:50 +00:00
Bryan W. Weber
ad3ac0a1ad [Matlab/Doc] Add automatically generated Contents.m to the toolbox. 2014-07-18 14:37:47 +00:00
Ray Speth
ea040e1a5e [SCons] Always link to static standard libraries with MinGW 2014-02-24 03:25:34 +00:00
Ray Speth
721f0266be [SCons] Fix some dependency issues for building "ctpath.m" 2013-09-06 20:34:18 +00:00
Ray Speth
9b6354b0c0 [SCons] Fix generation of ctpath.m
Was failing because of dependency on dynamically-generated 'python_module_loc'
variable.
2013-07-31 18:14:42 +00:00
Ray Speth
c092bbaede Fixed the order of include and library directories when compiling
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).

The same logic applies to directories on the library link path.
2012-08-10 21:03:06 +00:00
Ray Speth
02fdb22b2e Fixed Matlab extension name on 32-bit platforms 2012-05-31 14:58:11 +00:00
Ray Speth
7cc9a15c33 Fixed a compiler warning when building a 32-bit Matlab extension with MSVC 2012-05-24 16:29:46 +00:00
Ray Speth
802f5e9f06 Fixed some issues installing the Matlab toolbox on Windows 2012-04-11 20:25:59 +00:00
Ray Speth
abf2e04084 Changed visibility of symbols in ctmethods.mex on Linux
This allows Cantera to use BLAS/LAPACK functions included in the mex
file instead of the incompatible ones that are part of Matlab.
2012-04-11 17:37:33 +00:00
Ray Speth
a1641019dd Made dependency of Matlab extension on the Cantera library explicit 2012-04-11 17:37:30 +00:00
Ray Speth
e11281477e Added configuration option for building a single library
This is necessary particularly for Windows, where there's no easy way
to build shared libraries of the f2c code because those functions
don't have the necessary __declspec(dllexport) in their non-existent
headers.
2012-04-05 22:03:30 +00:00
Harry Moffat
25ba149aab Sorry for monolithic commit. Will break it up in the future.
Moved the external libraries to separate library files so that libcantera.a just contains its own namespace externals.

Fixed several errors in the equilibrium program that occurred during the port. (int to size_t issues).

Moved some equilibrium program headers to the include file system, so that it can link with equilibrium program.

Worked on Cantera.mak. Needs more work.

Fixed an issue with the Residual virtual base classes within numerics. They didn't inherit due to int to size_t migration. This caused numerous test problems to fail (issue with backwards compatibility - do we want it and how much do we want?).

Added csvdiff back so that it's available for shell environment runtests.
2012-04-05 00:24:31 +00:00
Ray Speth
f22ecac5c4 Use the Accelerate framework for BLAS and LAPACK on OS X 2012-03-15 22:49:04 +00:00
Ray Speth
bac65b26a1 Added machinery for unit testing of the Matlab toolbox
Unit tests are written using the Matlab xUnit Test Framework
2012-03-13 17:32:10 +00:00
Ray Speth
559163d2ca Fixes to allow building the Matlab toolbox with MinGW 2012-03-07 00:50:58 +00:00
Ray Speth
baade7fbad Link Python and Matlab modules against shared BLAS/LAPACK when necessary 2012-03-05 20:47:08 +00:00
Ray Speth
346268f09c Matlab extension compiled directly by SCons without invoking Matlab 2012-03-05 20:46:57 +00:00
Ray Speth
8150f49c2c Simplified adding SCons build and install targets 2012-03-05 20:45:20 +00:00
Ray Speth
70cdd1be3e Made linking to Sundials libraries more consistent 2012-03-01 00:44:50 +00:00
Ray Speth
1ece5bcc3d Some changes to make SCons faster 2012-02-23 21:25:20 +00:00
Ray Speth
99d951ceb8 Cantera now produces a single library for linking C++ applications 2012-02-13 17:24:34 +00:00
Ray Speth
8239c18091 Fixed some installation issues with samples and the Python module 2012-02-13 17:24:09 +00:00
Ray Speth
fc1b2f16f0 Updated Matlab build scripts to work with new directory structure 2012-02-12 20:44:28 +00:00
Ray Speth
eb2cab5f2b Updates to SCons scripts to support the new directory structure 2012-02-12 02:46:40 +00:00
Ray Speth
2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00
Renamed from Cantera/matlab/SConscript (Browse further)