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.
This commit is contained in:
parent
a6f939c2fe
commit
2528df0f75
1220 changed files with 1 additions and 491 deletions
|
|
@ -1,4 +0,0 @@
|
|||
# $Id: $
|
||||
|
||||
# will need to add python and matlab
|
||||
SUBDIRS = ext src user cxx
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
This directory contains the source for Cantera and its various
|
||||
language interfaces.
|
||||
|
||||
clib - the library of C-callable functions used by the Python and
|
||||
Matlab interfaces.
|
||||
cxx - files that are only required for C++ application programs.
|
||||
matlab - the Cantera Matlab toolbox
|
||||
python - the Cantera Python package
|
||||
src - the Cantera kernel, used by Cantera in all its forms
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
SUBDIRS = src
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
h_sources =
|
||||
|
||||
cc_sources = importPhase.cpp
|
||||
|
||||
AM_CPPFLAGS = -I$(top_builddir)/build/include
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
lib_LTLIBRARIES = $(top_builddir)/build/lib/libctcxx.la
|
||||
library_includedir = $(top_builddir)/build/include
|
||||
library_include_HEADERS = $(h_sources)
|
||||
|
||||
#-----------------------
|
||||
# Cantera Converters C/C++ library
|
||||
#-----------------------
|
||||
|
||||
__top_builddir__build_lib_libctcxx_la_LDFLAGS = $(all_libraries) -release $(GENERIC_RELEASE)
|
||||
__top_builddir__build_lib_libctcxx_la_SOURCES = $(cc_sources) $(h_sources)
|
||||
|
||||
__top_builddir__build_lib_libctcxx_include_HEADERS = $(h_sources)
|
||||
__top_builddir__build_lib_libctcxx_includedir = $(prefix)/include
|
||||
|
||||
|
||||
# header file accumulation
|
||||
all:
|
||||
@echo copying headers $<
|
||||
cp -p *.h $(top_builddir)/build/include/
|
||||
|
||||
CLEANFILES = *.o
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
cc_sources = user.cpp
|
||||
|
||||
AM_CPPFLAGS = -I$(top_builddir)/build/include/ -I$(top_builddir)/build/include/cantera
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
lib_LTLIBRARIES = $(top_builddir)/build/lib/libuser.la
|
||||
library_includedir = $(top_builddir)/build/include
|
||||
library_include_HEADERS = $(h_sources)
|
||||
|
||||
#-----------------------
|
||||
# Cantera Converters C/C++ library
|
||||
#-----------------------
|
||||
|
||||
__top_builddir__build_lib_libuser_la_LDFLAGS = $(all_libraries) -release $(GENERIC_RELEASE)
|
||||
__top_builddir__build_lib_libuser_la_SOURCES = $(cc_sources) $(h_sources)
|
||||
|
||||
CLEANFILES = *.o
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
This directory is for applications that are not part of Cantera
|
||||
itself, but may be distributed with Cantera.
|
||||
|
||||
Contents:
|
||||
|
||||
MixMaster -- A graphical control panel for viewing mixture properties
|
||||
(Python)
|
||||
|
||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue