Added CANTERA_VERSION information to preconfig
and to the Cantera.mak files which are used in the application environment.
This commit is contained in:
parent
eaa2875d10
commit
701952e509
3 changed files with 28 additions and 2 deletions
|
|
@ -23,6 +23,8 @@
|
|||
#
|
||||
in_CanteraBuildTree = 0
|
||||
|
||||
CANTERA_VERSION=@ctversion@
|
||||
|
||||
###############################################################################
|
||||
# CANTERA CORE
|
||||
###############################################################################
|
||||
|
|
@ -122,6 +124,10 @@ endif
|
|||
#
|
||||
CANTERA_TOTAL_INCLUDES= $(CANTERA_CORE_INCLUDES) $(CANTERA_BOOST_INCLUDES) $(CANTERA_CVODE_INCLUDE)
|
||||
#
|
||||
# You can add this into the compilation environment to identify the version number
|
||||
#
|
||||
CANTERA_DEFINES = -DCANTERA_VERSION=@ctversion@
|
||||
#
|
||||
# LIBS and LIBS should be the same ...
|
||||
#
|
||||
CANTERA_TOTAL_LIBS2 = -L$(CANTERA_LIBSDIR) @LOCAL_LIBS@
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
#
|
||||
in_CanteraBuildTree = 0
|
||||
|
||||
CANTERA_VERSION=@ctversion@
|
||||
|
||||
###############################################################################
|
||||
# CANTERA CORE
|
||||
###############################################################################
|
||||
|
|
@ -117,6 +119,10 @@ endif
|
|||
####################################################################
|
||||
|
||||
CANTERA_TOTAL_INCLUDES= $(CANTERA_CORE_INCLUDES) $(CANTERA_BOOST_INCLUDES) $(CANTERA_CVODE_INCLUDE)
|
||||
#
|
||||
# You can add this into the compilation environment to identify the version number
|
||||
#
|
||||
CANTERA_DEFINES = -DCANTERA_VERSION=@ctversion@
|
||||
|
||||
CANTERA_TOTAL_LIBS2 = @LOCAL_LIB_DIRS@ @LOCAL_LIBS@
|
||||
|
||||
|
|
|
|||
18
preconfig
18
preconfig
|
|
@ -488,8 +488,22 @@ CT_SHARED_LIB=${CT_SHARED_LIB:=clib}
|
|||
# lowercase 'helvetica'.
|
||||
RPFONT=${RPFONT:="Helvetica"}
|
||||
|
||||
# Don't change this.
|
||||
CANTERA_VERSION=${CANTERA_VERSION:="1.8.0"}
|
||||
#
|
||||
# Version Control:
|
||||
#
|
||||
# We define a new string for every branch created in svn.
|
||||
#
|
||||
# Currently expected versions:
|
||||
# "1.7" Old version of Cantera
|
||||
# "1.8.0" Released version of 1.8
|
||||
# "1.8.x" Development version of 1.8
|
||||
# "1.8_liquidTransportDevelop" branched version of 1.8 having to deal with liquid transport
|
||||
#
|
||||
# This field gets written into config.h and is also an autoconf variable.
|
||||
#
|
||||
#
|
||||
CANTERA_VERSION=${CANTERA_VERSION:="1.8.x"}
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
#------------------- don't change anything below!! ---------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue