2010-09-12 21:09:39 +02:00
|
|
|
SET(CosmoTool_SRCS
|
|
|
|
fortran.cpp
|
|
|
|
interpolate.cpp
|
|
|
|
load_data.cpp
|
|
|
|
loadGadget.cpp
|
|
|
|
loadRamses.cpp
|
|
|
|
octTree.cpp
|
|
|
|
powerSpectrum.cpp
|
|
|
|
yorick.cpp
|
2010-09-12 21:22:20 +02:00
|
|
|
miniargs.cpp
|
2010-12-01 16:04:04 +01:00
|
|
|
growthFactor.cpp
|
2010-09-12 21:09:39 +02:00
|
|
|
)
|
|
|
|
|
2010-09-12 21:22:20 +02:00
|
|
|
SET(CosmoTool_SRCS ${CosmoTool_SRCS}
|
2010-09-12 21:09:39 +02:00
|
|
|
bqueue.hpp
|
|
|
|
config.hpp
|
|
|
|
dinterpolate.hpp
|
|
|
|
field.hpp
|
|
|
|
fixArray.hpp
|
|
|
|
fortran.hpp
|
|
|
|
interpolate3d.hpp
|
|
|
|
interpolate.hpp
|
|
|
|
kdtree_leaf.hpp
|
|
|
|
load_data.hpp
|
|
|
|
loadGadget.hpp
|
|
|
|
loadRamses.hpp
|
|
|
|
loadSimu.hpp
|
|
|
|
miniargs.hpp
|
|
|
|
mykdtree.hpp
|
|
|
|
octTree.hpp
|
|
|
|
powerSpectrum.hpp
|
|
|
|
sparseGrid.hpp
|
|
|
|
sphSmooth.hpp
|
|
|
|
yorick.hpp
|
2010-12-01 16:04:04 +01:00
|
|
|
growthFactor.hpp
|
2010-09-12 21:09:39 +02:00
|
|
|
)
|
|
|
|
|
2011-01-24 16:15:28 +01:00
|
|
|
include_directories(${GSL_INCLUDE_PATH} ${NETCDF_INCLUDE_PATH})
|
2010-09-15 20:51:18 +02:00
|
|
|
add_library(CosmoTool ${CosmoTool_SRCS})
|
|
|
|
target_link_libraries(CosmoTool ${NETCDF_LIBRARY} ${NETCDFCPP_LIBRARY} ${GSL_LIBRARY} ${GSLCBLAS_LIBRARY})
|
2010-09-12 21:09:39 +02:00
|
|
|
|
|
|
|
install(TARGETS CosmoTool
|
2010-09-15 20:51:18 +02:00
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
ARCHIVE DESTINATION lib)
|
2010-09-12 21:09:39 +02:00
|
|
|
install(DIRECTORY . DESTINATION include/CosmoTool
|
|
|
|
FILES_MATCHING PATTERN "*.hpp")
|
|
|
|
install(DIRECTORY . DESTINATION include/CosmoTool
|
|
|
|
FILES_MATCHING PATTERN "*.tcc")
|