SET(STD_REGIONS_SOURCES
StdExpansion.cpp
StdExpansion0D.cpp
StdExpansion1D.cpp
StdExpansion2D.cpp
StdExpansion3D.cpp
StdHexExp.cpp
StdMatrixKey.cpp
StdNodalPrismExp.cpp
StdNodalTetExp.cpp
StdNodalTriExp.cpp
StdPrismExp.cpp
StdPyrExp.cpp
StdQuadExp.cpp
StdSegExp.cpp
StdPointExp.cpp
StdTetExp.cpp
StdTriExp.cpp
IndexMapKey.cpp
)

SET(STD_REGIONS_HEADERS
SpatialDomainsDeclarations.hpp
StdExpansion0D.h
StdExpansion1D.h
StdExpansion2D.h
StdExpansion3D.h
StdExpansion.h
StdHexExp.h
StdLinSysKey.hpp
StdMatrixKey.h
StdNodalPrismExp.h
StdNodalTetExp.h
StdNodalTriExp.h
StdPrismExp.h
StdPyrExp.h
StdQuadExp.h
StdRegionsDeclspec.h
StdSegExp.h
StdPointExp.h
StdTetExp.h
StdTriExp.h
LocalRegionsDeclarations.hpp
SpatialDomainsDeclarations.hpp
StdRegions.hpp
IndexMapKey.h
)

ADD_DEFINITIONS(-DSTD_REGIONS_EXPORTS)
ADD_NEKTAR_LIBRARY(StdRegions lib ${NEKTAR_LIBRARY_TYPE} ${STD_REGIONS_SOURCES} ${STD_REGIONS_HEADERS})
TARGET_LINK_LIBRARIES(StdRegions
        optimized LibUtilities debug LibUtilities-g
        optimized ${TINYXML_LIB} debug ${TINYXML_LIB}
        ${Boost_THREAD_LIBRARY}
		${Boost_DATE_TIME_LIBRARY}
	)

SET_LAPACK_LINK_LIBRARIES(StdRegions)

INSTALL(FILES ${STD_REGIONS_HEADERS} DESTINATION ${NEKTAR_INCLUDE_DIR}/StdRegions COMPONENT dev)

