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.
16 lines
179 B
C++
16 lines
179 B
C++
#include <cantera/Cantera.h>
|
|
|
|
void demoprog()
|
|
{
|
|
// Calls Cantera
|
|
}
|
|
|
|
int main()
|
|
{
|
|
try {
|
|
demoprog();
|
|
} catch (CanteraError) {
|
|
showErrors(cout);
|
|
}
|
|
}
|
|
|