added add_files
This commit is contained in:
parent
9ba691c3c6
commit
9fc324754c
2 changed files with 8 additions and 5 deletions
|
|
@ -1,3 +1,9 @@
|
|||
SET (CTBASE_SRCS misc.cpp ct2ctml.cpp ctml.cpp
|
||||
plots.cpp stringUtils.cpp xml.cpp clockWC.cpp)
|
||||
ADD_LIBRARY(ctbase ${CTBASE_SRCS})
|
||||
|
||||
SET (CTBASE_H global.h ct2ctml.h ctml.h
|
||||
ct_defs.h ctexceptions.h logger.h XML_Writer.h
|
||||
ctml.h plots.h stringUtils.h xml.h config.h utilities.h
|
||||
Array.h vec_functions.h global.h FactoryBase.h clockWC.h )
|
||||
INSTALL_FILES(/include/cantera/kernel FILES ${CTBASE_H})
|
||||
|
|
|
|||
|
|
@ -7,13 +7,8 @@ SET (THERMO_SRCS State.cpp Elements.cpp Constituents.cpp Phase.cpp
|
|||
StoichSubstance.cpp PureFluidPhase.cpp LatticeSolidPhase.cpp
|
||||
LatticePhase.cpp)
|
||||
|
||||
INCLUDE_DIRECTORIES (${PROJECT_BINARY_DIR}/build/include/cantera)
|
||||
INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/Cantera/src/base)
|
||||
|
||||
SET (LIBRARY_OUTPUT_PATH
|
||||
${PROJECT_BINARY_DIR}/build/lib/${CMAKE_SYSTEM_PROCESSOR}-${CMAKE_SYSTEM_VERSION} CACHE PATH "Single directory for all libraries"
|
||||
)
|
||||
|
||||
ADD_LIBRARY(thermo ${THERMO_SRCS})
|
||||
|
||||
TARGET_LINK_LIBRARIES (thermo ctbase)
|
||||
|
|
@ -30,3 +25,5 @@ SET(THERMO_H State.h Elements.h Constituents.h Phase.h mix_defs.h
|
|||
speciesThermoTypes.h SpeciesThermo.h SurfPhase.h
|
||||
EdgePhase.h )
|
||||
# @phase_header_files@)
|
||||
|
||||
INSTALL_FILES(/include/cantera/kernel FILES ${THERMO_H})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue