Imported Healpix, cfitsio, cosmotool. Added cmake tool to build dependencies (cfitsio, hdf5, netcdf, boost, healpix, gsl, ..). Adjusted CMakeLists.txt

This commit is contained in:
Guilhem Lavaux 2012-10-30 14:17:11 -04:00
parent 4bfb62f177
commit 51f6798f88
241 changed files with 243806 additions and 0 deletions

26
external/cosmotool/src/miniargs.hpp vendored Normal file
View file

@ -0,0 +1,26 @@
#ifndef _MAK_MINIARGS_HPP
#define _MAK_MINIARGS_HPP
namespace CosmoTool
{
typedef enum
{
MINIARG_NULL,
MINIARG_STRING,
MINIARG_INT,
MINIARG_DOUBLE,
MINIARG_FLOAT,
MINIARG_DOUBLE_3D_VECTOR
} MiniArgType;
typedef struct
{
const char *name;
void *data;
MiniArgType argType;
} MiniArgDesc;
int parseMiniArgs(int argc, char **argv, MiniArgDesc *desc);
};
#endif