Added a test for the healpix/sharp tranform. Basic code compiles and work.
This commit is contained in:
parent
707a25bda3
commit
352c6b6eb6
4 changed files with 104 additions and 39 deletions
|
@ -5,11 +5,13 @@ project(CosmoToolbox)
|
|||
|
||||
include(GetGitRevisionDescription)
|
||||
include(ExternalProject)
|
||||
include(FindOpenMP)
|
||||
|
||||
get_git_head_revision(HEAD GIT_VER)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries." OFF)
|
||||
option(BUILD_STATIC_LIBS "Build static libraries." ON)
|
||||
option(ENABLE_OPENMP "Enable OpenMP support." OFF)
|
||||
|
||||
find_path(NETCDF_INCLUDE_PATH NAMES netcdf.h)
|
||||
find_path(NETCDFCPP_INCLUDE_PATH NAMES netcdfcpp.h netcdf)
|
||||
|
@ -39,6 +41,9 @@ ExternalProject_Add(sharp
|
|||
)
|
||||
|
||||
SET(SHARP_LIBRARY ${DEP_BUILD}/lib/libsharp.a)
|
||||
SET(FFTPACK_LIBRARY ${DEP_BUILD}/lib/libfftpack.a)
|
||||
SET(CUTILS_LIBRARY ${DEP_BUILD}/lib/libc_utils.a)
|
||||
SET(SHARP_LIBRARIES ${SHARP_LIBRARY} ${FFTPACK_LIBRARY} ${CUTILS_LIBRARY})
|
||||
SET(SHARP_INCLUDE_PATH ${DEP_BUILD}/include)
|
||||
|
||||
set(HDF5_FIND_COMPONENTS HL CXX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue