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.
13 lines
249 B
Mathematica
13 lines
249 B
Mathematica
function x = build(x, file, pre)
|
|
|
|
if nargin < 2 | ~isa(file,'char')
|
|
error('Syntax error. Type "help build" for more information.')
|
|
end
|
|
|
|
if nargin == 3 & pre > 0
|
|
iok = ctmethods(10, 15, x.id, file)
|
|
else
|
|
iok = ctmethods(10, 4, x.id, file)
|
|
end
|
|
|
|
|