Commit graph

32 commits

Author SHA1 Message Date
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
e72524218d Fixed setting of LIBPATH when linking the Python module
This resolves some problems when building with non-default Python
installations.
2012-06-14 21:06:18 +00:00
Ray Speth
ae572058e0 Python module files are also uninstalled with 'scons uninstall' 2012-06-12 22:49:05 +00:00
Ray Speth
ec1abb55a1 Added debian file layout option 2012-06-05 19:56:30 +00:00
Ray Speth
3ffaaeae4f Remove debug symbols from Python extension when not in debug mode 2012-06-05 19:56:24 +00:00
Ray Speth
88a1f64466 Fixed list of libraries specified when linking the Matlab extension 2012-05-29 18:03:18 +00:00
Ray Speth
5ef6a024a9 Fixed some case statements that were missing a 'break' 2012-05-24 16:29:55 +00:00
Ray Speth
79a0165260 Removed unnecessary linker flags when building the Python extension
This resolves errors when compiling on OS X when the full set of
cross-compilers (e.g. for ppc) are not present, as well as several
warnings even when they are.
2012-05-07 18:20:05 +00:00
Ray Speth
34cffd0135 Fixed issues generating version-dependent installer for Windows Python module
Passing the '--target-version' option to bdist_msi will generate an
installer that requires the right version of Python without distutils
needing to be able to find a working compiler.
2012-04-19 16:45:15 +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
e323340c73 Fixed building the Python module with MinGW when Visual Studio is not present 2012-04-04 18:45:11 +00:00
Ray Speth
4feb983688 Fixed some memory leaks in the Python module 2012-03-23 22:16:42 +00:00
Ray Speth
b5fdb92146 Python tests now have SCons dependency on the Python extension
This means that running a Python test will cause the Python extension
to be built, and that changes in the source will cause the Python tests
to rerun.
2012-03-09 22:59:04 +00:00
Ray Speth
92017de067 Removed some vestigial ifdef blocks 2012-03-09 22:58:17 +00:00
Ray Speth
9753cc7c40 Deprecated the unused "userInterface" function 2012-03-09 22:54:47 +00:00
Ray Speth
50bef3ee5c Fixed an environment issue with Python subprocesses 2012-03-09 22:54:21 +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
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
8877f95e3c Modified some compiler warning settings 2012-02-28 19:01:35 +00:00
Ray Speth
236756fbf0 Removed rogue tabs in the C++ source code 2012-02-27 18:15:02 +00:00
Ray Speth
3b1694fdfb Class Storage has been eliminated in favor of class Cabinet 2012-02-27 18:12:00 +00:00
Ray Speth
b6376f1e00 Include Sundials in the Cantera Python module when necessary 2012-02-23 21:25:13 +00:00
Ray Speth
ee0fe68e16 Fixes for building shared libraries on OS X. 2012-02-23 21:24:48 +00:00
Ray Speth
055b6e5710 Fixed issues compiling with MinGW using SCons 2012-02-21 16:06:07 +00:00
Ray Speth
ccd0f01584 Fixed a python-distutils problem with the Windows SDK 2012-02-17 20:30:15 +00:00
Ray Speth
4d3814d1cf Fixed a bug with Python Distutils and relative source paths 2012-02-15 23:31:37 +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
eb2cab5f2b Updates to SCons scripts to support the new directory structure 2012-02-12 02:46:40 +00:00
Ray Speth
a310345b9e Updated #includes to reflect new header file locations 2012-02-12 02:44:14 +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