Warning, /graphics/kst-plot/cmake/3rdparty/gsl/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 2.6)
0002 
0003 project( gsl )
0004 
0005 
0006 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY  ${CMAKE_BINARY_DIR}/bin) 
0007 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY  ${CMAKE_BINARY_DIR}/lib) 
0008 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY  ${CMAKE_BINARY_DIR}/lib) 
0009 
0010 
0011 if(NOT GSL_DIR)
0012     set(GSL_DIR ${CMAKE_SOURCE_DIR})
0013 endif()
0014 
0015 set(gsl_source_list 
0016   ${GSL_DIR}/version.c
0017   ${GSL_DIR}/block/block.c
0018   ${GSL_DIR}/block/file.c
0019   ${GSL_DIR}/fft/dft.c
0020   ${GSL_DIR}/fft/factorize.c
0021   ${GSL_DIR}/fft/fft.c
0022   ${GSL_DIR}/fft/signals.c
0023   ${GSL_DIR}/min/bracketing.c
0024   ${GSL_DIR}/min/brent.c
0025   ${GSL_DIR}/min/convergence.c
0026   ${GSL_DIR}/min/fsolver.c
0027   ${GSL_DIR}/min/golden.c
0028   ${GSL_DIR}/min/quad_golden.c
0029   ${GSL_DIR}/blas/blas.c
0030   ${GSL_DIR}/cdf/beta.c
0031   ${GSL_DIR}/cdf/betainv.c
0032   ${GSL_DIR}/cdf/binomial.c
0033   ${GSL_DIR}/cdf/cauchy.c
0034   ${GSL_DIR}/cdf/cauchyinv.c
0035   ${GSL_DIR}/cdf/chisq.c
0036   ${GSL_DIR}/cdf/chisqinv.c
0037   ${GSL_DIR}/cdf/exponential.c
0038   ${GSL_DIR}/cdf/exponentialinv.c
0039   ${GSL_DIR}/cdf/exppow.c
0040   ${GSL_DIR}/cdf/fdist.c
0041   ${GSL_DIR}/cdf/fdistinv.c
0042   ${GSL_DIR}/cdf/flat.c
0043   ${GSL_DIR}/cdf/flatinv.c
0044   ${GSL_DIR}/cdf/gamma.c
0045   ${GSL_DIR}/cdf/gammainv.c
0046   ${GSL_DIR}/cdf/gauss.c
0047   ${GSL_DIR}/cdf/gaussinv.c
0048   ${GSL_DIR}/cdf/geometric.c
0049   ${GSL_DIR}/cdf/gumbel1.c
0050   ${GSL_DIR}/cdf/gumbel1inv.c
0051   ${GSL_DIR}/cdf/gumbel2.c
0052   ${GSL_DIR}/cdf/gumbel2inv.c
0053   ${GSL_DIR}/cdf/hypergeometric.c
0054   ${GSL_DIR}/cdf/laplace.c
0055   ${GSL_DIR}/cdf/laplaceinv.c
0056   ${GSL_DIR}/cdf/logistic.c
0057   ${GSL_DIR}/cdf/logisticinv.c
0058   ${GSL_DIR}/cdf/lognormal.c
0059   ${GSL_DIR}/cdf/lognormalinv.c
0060   ${GSL_DIR}/cdf/nbinomial.c
0061   ${GSL_DIR}/cdf/pareto.c
0062   ${GSL_DIR}/cdf/paretoinv.c
0063   ${GSL_DIR}/cdf/pascal.c
0064   ${GSL_DIR}/cdf/poisson.c
0065   ${GSL_DIR}/cdf/rayleigh.c
0066   ${GSL_DIR}/cdf/rayleighinv.c
0067   ${GSL_DIR}/cdf/tdist.c
0068   ${GSL_DIR}/cdf/tdistinv.c
0069   ${GSL_DIR}/cdf/weibull.c
0070   ${GSL_DIR}/cdf/weibullinv.c
0071   ${GSL_DIR}/cheb/deriv.c
0072   ${GSL_DIR}/cheb/eval.c
0073   ${GSL_DIR}/cheb/init.c
0074   ${GSL_DIR}/cheb/integ.c
0075   ${GSL_DIR}/combination/combination.c
0076   ${GSL_DIR}/combination/file.c
0077   ${GSL_DIR}/combination/init.c
0078   ${GSL_DIR}/complex/math.c
0079   ${GSL_DIR}/deriv/deriv.c
0080   ${GSL_DIR}/dht/dht.c
0081   ${GSL_DIR}/diff/diff.c
0082   ${GSL_DIR}/eigen/francis.c
0083   ${GSL_DIR}/eigen/gen.c
0084   ${GSL_DIR}/eigen/genherm.c
0085   ${GSL_DIR}/eigen/genhermv.c
0086   ${GSL_DIR}/eigen/gensymm.c
0087   ${GSL_DIR}/eigen/gensymmv.c
0088   ${GSL_DIR}/eigen/genv.c
0089   ${GSL_DIR}/eigen/herm.c
0090   ${GSL_DIR}/eigen/hermv.c
0091   ${GSL_DIR}/eigen/jacobi.c
0092   ${GSL_DIR}/eigen/nonsymm.c
0093   ${GSL_DIR}/eigen/nonsymmv.c
0094   ${GSL_DIR}/eigen/schur.c
0095   ${GSL_DIR}/eigen/sort.c
0096   ${GSL_DIR}/eigen/symm.c
0097   ${GSL_DIR}/eigen/symmv.c
0098   ${GSL_DIR}/err/error.c
0099   ${GSL_DIR}/err/message.c
0100   ${GSL_DIR}/err/stream.c
0101   ${GSL_DIR}/err/strerror.c
0102   ${GSL_DIR}/fit/linear.c
0103   ${GSL_DIR}/histogram/add.c
0104   ${GSL_DIR}/histogram/add2d.c
0105   ${GSL_DIR}/histogram/calloc_range.c
0106   ${GSL_DIR}/histogram/calloc_range2d.c
0107   ${GSL_DIR}/histogram/copy.c
0108   ${GSL_DIR}/histogram/copy2d.c
0109   ${GSL_DIR}/histogram/file.c
0110   ${GSL_DIR}/histogram/file2d.c
0111   ${GSL_DIR}/histogram/get.c
0112   ${GSL_DIR}/histogram/get2d.c
0113   ${GSL_DIR}/histogram/init.c
0114   ${GSL_DIR}/histogram/init2d.c
0115   ${GSL_DIR}/histogram/maxval.c
0116   ${GSL_DIR}/histogram/maxval2d.c
0117   ${GSL_DIR}/histogram/oper.c
0118   ${GSL_DIR}/histogram/oper2d.c
0119   ${GSL_DIR}/histogram/params.c
0120   ${GSL_DIR}/histogram/params2d.c
0121   ${GSL_DIR}/histogram/pdf.c
0122   ${GSL_DIR}/histogram/pdf2d.c
0123   ${GSL_DIR}/histogram/reset.c
0124   ${GSL_DIR}/histogram/reset2d.c
0125   ${GSL_DIR}/histogram/stat.c
0126   ${GSL_DIR}/histogram/stat2d.c
0127   ${GSL_DIR}/ieee-utils/endian.c
0128   ${GSL_DIR}/ieee-utils/env.c
0129   ${GSL_DIR}/ieee-utils/fp.c
0130   ${GSL_DIR}/ieee-utils/make_rep.c
0131   ${GSL_DIR}/ieee-utils/print.c
0132   ${GSL_DIR}/ieee-utils/read.c
0133   ${GSL_DIR}/ieee-utils/standardize.c
0134   ${GSL_DIR}/integration/qag.c
0135   ${GSL_DIR}/integration/qagp.c
0136   ${GSL_DIR}/integration/qags.c
0137   ${GSL_DIR}/integration/qawc.c
0138   ${GSL_DIR}/integration/qawf.c
0139   ${GSL_DIR}/integration/qawo.c
0140   ${GSL_DIR}/integration/qaws.c
0141   ${GSL_DIR}/integration/qcheb.c
0142   ${GSL_DIR}/integration/qk.c
0143   ${GSL_DIR}/integration/qk15.c
0144   ${GSL_DIR}/integration/qk21.c
0145   ${GSL_DIR}/integration/qk31.c
0146   ${GSL_DIR}/integration/qk41.c
0147   ${GSL_DIR}/integration/qk51.c
0148   ${GSL_DIR}/integration/qk61.c
0149   ${GSL_DIR}/integration/qmomo.c
0150   ${GSL_DIR}/integration/qmomof.c
0151   ${GSL_DIR}/integration/qng.c
0152   ${GSL_DIR}/integration/workspace.c
0153   ${GSL_DIR}/interpolation/accel.c
0154   ${GSL_DIR}/interpolation/akima.c
0155   ${GSL_DIR}/interpolation/cspline.c
0156   ${GSL_DIR}/interpolation/interp.c
0157   ${GSL_DIR}/interpolation/linear.c
0158   ${GSL_DIR}/interpolation/poly.c
0159   ${GSL_DIR}/interpolation/spline.c
0160   ${GSL_DIR}/linalg/balance.c
0161   ${GSL_DIR}/linalg/balancemat.c
0162   ${GSL_DIR}/linalg/bidiag.c
0163   ${GSL_DIR}/linalg/cholesky.c
0164   ${GSL_DIR}/linalg/choleskyc.c
0165   ${GSL_DIR}/linalg/exponential.c
0166   ${GSL_DIR}/linalg/hermtd.c
0167   ${GSL_DIR}/linalg/hessenberg.c
0168   ${GSL_DIR}/linalg/hesstri.c
0169   ${GSL_DIR}/linalg/hh.c
0170   ${GSL_DIR}/linalg/householder.c
0171   ${GSL_DIR}/linalg/householdercomplex.c
0172   ${GSL_DIR}/linalg/lq.c
0173   ${GSL_DIR}/linalg/lu.c
0174   ${GSL_DIR}/linalg/luc.c
0175   ${GSL_DIR}/linalg/multiply.c
0176   ${GSL_DIR}/linalg/ptlq.c
0177   ${GSL_DIR}/linalg/qr.c
0178   ${GSL_DIR}/linalg/qrpt.c
0179   ${GSL_DIR}/linalg/svd.c
0180   ${GSL_DIR}/linalg/symmtd.c
0181   ${GSL_DIR}/linalg/tridiag.c
0182   ${GSL_DIR}/matrix/copy.c
0183   ${GSL_DIR}/matrix/file.c
0184   ${GSL_DIR}/matrix/getset.c
0185   ${GSL_DIR}/matrix/init.c
0186   ${GSL_DIR}/matrix/matrix.c
0187   ${GSL_DIR}/matrix/minmax.c
0188   ${GSL_DIR}/matrix/oper.c
0189   ${GSL_DIR}/matrix/prop.c
0190   ${GSL_DIR}/matrix/rowcol.c
0191   ${GSL_DIR}/matrix/submatrix.c
0192   ${GSL_DIR}/matrix/view.c
0193   ${GSL_DIR}/monte/miser.c
0194   ${GSL_DIR}/monte/plain.c
0195   ${GSL_DIR}/monte/vegas.c
0196   ${GSL_DIR}/multifit/convergence.c
0197   ${GSL_DIR}/multifit/covar.c
0198   ${GSL_DIR}/multifit/fsolver.c
0199   ${GSL_DIR}/multifit/gradient.c
0200   ${GSL_DIR}/multifit/lmder.c
0201   ${GSL_DIR}/multifit/multilinear.c
0202   ${GSL_DIR}/multifit/work.c
0203   ${GSL_DIR}/multimin/conjugate_fr.c
0204   ${GSL_DIR}/multimin/conjugate_pr.c
0205   ${GSL_DIR}/multimin/convergence.c
0206   ${GSL_DIR}/multimin/diff.c
0207   ${GSL_DIR}/multimin/fdfminimizer.c
0208   ${GSL_DIR}/multimin/fminimizer.c
0209   ${GSL_DIR}/multimin/simplex.c
0210   ${GSL_DIR}/multimin/simplex2.c
0211   ${GSL_DIR}/multimin/steepest_descent.c
0212   ${GSL_DIR}/multimin/vector_bfgs.c
0213   ${GSL_DIR}/multimin/vector_bfgs2.c
0214   ${GSL_DIR}/multiroots/broyden.c
0215   ${GSL_DIR}/multiroots/convergence.c
0216   ${GSL_DIR}/multiroots/dnewton.c
0217   ${GSL_DIR}/multiroots/fdfsolver.c
0218   ${GSL_DIR}/multiroots/fdjac.c
0219   ${GSL_DIR}/multiroots/fsolver.c
0220   ${GSL_DIR}/multiroots/gnewton.c
0221   ${GSL_DIR}/multiroots/hybrid.c
0222   ${GSL_DIR}/multiroots/hybridj.c
0223   ${GSL_DIR}/multiroots/newton.c
0224   ${GSL_DIR}/ntuple/ntuple.c
0225   ${GSL_DIR}/ode-initval/bsimp.c
0226   ${GSL_DIR}/ode-initval/control.c
0227   ${GSL_DIR}/ode-initval/cscal.c
0228   ${GSL_DIR}/ode-initval/cstd.c
0229   ${GSL_DIR}/ode-initval/evolve.c
0230   ${GSL_DIR}/ode-initval/gear1.c
0231   ${GSL_DIR}/ode-initval/gear2.c
0232   ${GSL_DIR}/ode-initval/rk2.c
0233   ${GSL_DIR}/ode-initval/rk2imp.c
0234   ${GSL_DIR}/ode-initval/rk2simp.c
0235   ${GSL_DIR}/ode-initval/rk4.c
0236   ${GSL_DIR}/ode-initval/rk4imp.c
0237   ${GSL_DIR}/ode-initval/rk8pd.c
0238   ${GSL_DIR}/ode-initval/rkck.c
0239   ${GSL_DIR}/ode-initval/rkf45.c
0240   ${GSL_DIR}/ode-initval/step.c
0241   ${GSL_DIR}/permutation/canonical.c
0242   ${GSL_DIR}/permutation/file.c
0243   ${GSL_DIR}/permutation/init.c
0244   ${GSL_DIR}/permutation/permutation.c
0245   ${GSL_DIR}/permutation/permute.c
0246   ${GSL_DIR}/poly/dd.c
0247   ${GSL_DIR}/poly/deriv.c
0248   ${GSL_DIR}/poly/eval.c
0249   ${GSL_DIR}/poly/solve_cubic.c
0250   ${GSL_DIR}/poly/solve_quadratic.c
0251   ${GSL_DIR}/poly/zsolve.c
0252   ${GSL_DIR}/poly/zsolve_cubic.c
0253   ${GSL_DIR}/poly/zsolve_init.c
0254   ${GSL_DIR}/poly/zsolve_quadratic.c
0255   ${GSL_DIR}/qrng/halton.c
0256   ${GSL_DIR}/qrng/niederreiter-2.c
0257   ${GSL_DIR}/qrng/qrng.c
0258   ${GSL_DIR}/qrng/reversehalton.c
0259   ${GSL_DIR}/qrng/sobol.c
0260   ${GSL_DIR}/randist/bernoulli.c
0261   ${GSL_DIR}/randist/beta.c
0262   ${GSL_DIR}/randist/bigauss.c
0263   ${GSL_DIR}/randist/binomial.c
0264   ${GSL_DIR}/randist/binomial_tpe.c
0265   ${GSL_DIR}/randist/cauchy.c
0266   ${GSL_DIR}/randist/chisq.c
0267   ${GSL_DIR}/randist/dirichlet.c
0268   ${GSL_DIR}/randist/discrete.c
0269   ${GSL_DIR}/randist/erlang.c
0270   ${GSL_DIR}/randist/exponential.c
0271   ${GSL_DIR}/randist/exppow.c
0272   ${GSL_DIR}/randist/fdist.c
0273   ${GSL_DIR}/randist/flat.c
0274   ${GSL_DIR}/randist/gamma.c
0275   ${GSL_DIR}/randist/gauss.c
0276   ${GSL_DIR}/randist/gausstail.c
0277   ${GSL_DIR}/randist/gausszig.c
0278   ${GSL_DIR}/randist/geometric.c
0279   ${GSL_DIR}/randist/gumbel.c
0280   ${GSL_DIR}/randist/hyperg.c
0281   ${GSL_DIR}/randist/landau.c
0282   ${GSL_DIR}/randist/laplace.c
0283   ${GSL_DIR}/randist/levy.c
0284   ${GSL_DIR}/randist/logarithmic.c
0285   ${GSL_DIR}/randist/logistic.c
0286   ${GSL_DIR}/randist/lognormal.c
0287   ${GSL_DIR}/randist/multinomial.c
0288   ${GSL_DIR}/randist/nbinomial.c
0289   ${GSL_DIR}/randist/pareto.c
0290   ${GSL_DIR}/randist/pascal.c
0291   ${GSL_DIR}/randist/poisson.c
0292   ${GSL_DIR}/randist/rayleigh.c
0293   ${GSL_DIR}/randist/shuffle.c
0294   ${GSL_DIR}/randist/sphere.c
0295   ${GSL_DIR}/randist/tdist.c
0296   ${GSL_DIR}/randist/weibull.c
0297   ${GSL_DIR}/rng/borosh13.c
0298   ${GSL_DIR}/rng/cmrg.c
0299   ${GSL_DIR}/rng/coveyou.c
0300   ${GSL_DIR}/rng/default.c
0301   ${GSL_DIR}/rng/file.c
0302   ${GSL_DIR}/rng/fishman18.c
0303   ${GSL_DIR}/rng/fishman20.c
0304   ${GSL_DIR}/rng/fishman2x.c
0305   ${GSL_DIR}/rng/gfsr4.c
0306   ${GSL_DIR}/rng/knuthran.c
0307   ${GSL_DIR}/rng/knuthran2.c
0308   ${GSL_DIR}/rng/knuthran2002.c
0309   ${GSL_DIR}/rng/lecuyer21.c
0310   ${GSL_DIR}/rng/minstd.c
0311   ${GSL_DIR}/rng/mrg.c
0312   ${GSL_DIR}/rng/mt.c
0313   ${GSL_DIR}/rng/r250.c
0314   ${GSL_DIR}/rng/ran0.c
0315   ${GSL_DIR}/rng/ran1.c
0316   ${GSL_DIR}/rng/ran2.c
0317   ${GSL_DIR}/rng/ran3.c
0318   ${GSL_DIR}/rng/rand.c
0319   ${GSL_DIR}/rng/rand48.c
0320   ${GSL_DIR}/rng/random.c
0321   ${GSL_DIR}/rng/randu.c
0322   ${GSL_DIR}/rng/ranf.c
0323   ${GSL_DIR}/rng/ranlux.c
0324   ${GSL_DIR}/rng/ranlxd.c
0325   ${GSL_DIR}/rng/ranlxs.c
0326   ${GSL_DIR}/rng/ranmar.c
0327   ${GSL_DIR}/rng/rng.c
0328   ${GSL_DIR}/rng/slatec.c
0329   ${GSL_DIR}/rng/taus.c
0330   ${GSL_DIR}/rng/taus113.c
0331   ${GSL_DIR}/rng/transputer.c
0332   ${GSL_DIR}/rng/tt.c
0333   ${GSL_DIR}/rng/types.c
0334   ${GSL_DIR}/rng/uni.c
0335   ${GSL_DIR}/rng/uni32.c
0336   ${GSL_DIR}/rng/vax.c
0337   ${GSL_DIR}/rng/waterman14.c
0338   ${GSL_DIR}/rng/zuf.c
0339   ${GSL_DIR}/roots/bisection.c
0340   ${GSL_DIR}/roots/brent.c
0341   ${GSL_DIR}/roots/convergence.c
0342   ${GSL_DIR}/roots/falsepos.c
0343   ${GSL_DIR}/roots/fdfsolver.c
0344   ${GSL_DIR}/roots/fsolver.c
0345   ${GSL_DIR}/roots/newton.c
0346   ${GSL_DIR}/roots/secant.c
0347   ${GSL_DIR}/roots/steffenson.c
0348   ${GSL_DIR}/siman/siman.c
0349   ${GSL_DIR}/sort/sort.c
0350   ${GSL_DIR}/sort/sortind.c
0351   ${GSL_DIR}/sort/sortvec.c
0352   ${GSL_DIR}/sort/sortvecind.c
0353   ${GSL_DIR}/sort/subset.c
0354   ${GSL_DIR}/sort/subsetind.c
0355   ${GSL_DIR}/specfunc/airy.c
0356   ${GSL_DIR}/specfunc/airy_der.c
0357   ${GSL_DIR}/specfunc/airy_zero.c
0358   ${GSL_DIR}/specfunc/atanint.c
0359   ${GSL_DIR}/specfunc/bessel.c
0360   ${GSL_DIR}/specfunc/bessel_amp_phase.c
0361   ${GSL_DIR}/specfunc/bessel_i.c
0362   ${GSL_DIR}/specfunc/bessel_I0.c
0363   ${GSL_DIR}/specfunc/bessel_I1.c
0364   ${GSL_DIR}/specfunc/bessel_In.c
0365   ${GSL_DIR}/specfunc/bessel_Inu.c
0366   ${GSL_DIR}/specfunc/bessel_j.c
0367   ${GSL_DIR}/specfunc/bessel_J0.c
0368   ${GSL_DIR}/specfunc/bessel_J1.c
0369   ${GSL_DIR}/specfunc/bessel_Jn.c
0370   ${GSL_DIR}/specfunc/bessel_Jnu.c
0371   ${GSL_DIR}/specfunc/bessel_k.c
0372   ${GSL_DIR}/specfunc/bessel_K0.c
0373   ${GSL_DIR}/specfunc/bessel_K1.c
0374   ${GSL_DIR}/specfunc/bessel_Kn.c
0375   ${GSL_DIR}/specfunc/bessel_Knu.c
0376   ${GSL_DIR}/specfunc/bessel_olver.c
0377   ${GSL_DIR}/specfunc/bessel_sequence.c
0378   ${GSL_DIR}/specfunc/bessel_temme.c
0379   ${GSL_DIR}/specfunc/bessel_y.c
0380   ${GSL_DIR}/specfunc/bessel_Y0.c
0381   ${GSL_DIR}/specfunc/bessel_Y1.c
0382   ${GSL_DIR}/specfunc/bessel_Yn.c
0383   ${GSL_DIR}/specfunc/bessel_Ynu.c
0384   ${GSL_DIR}/specfunc/bessel_zero.c
0385   ${GSL_DIR}/specfunc/beta.c
0386   ${GSL_DIR}/specfunc/beta_inc.c
0387   ${GSL_DIR}/specfunc/clausen.c
0388   ${GSL_DIR}/specfunc/coulomb.c
0389   ${GSL_DIR}/specfunc/coulomb_bound.c
0390   ${GSL_DIR}/specfunc/coupling.c
0391   ${GSL_DIR}/specfunc/dawson.c
0392   ${GSL_DIR}/specfunc/debye.c
0393   ${GSL_DIR}/specfunc/dilog.c
0394   ${GSL_DIR}/specfunc/elementary.c
0395   ${GSL_DIR}/specfunc/ellint.c
0396   ${GSL_DIR}/specfunc/elljac.c
0397   ${GSL_DIR}/specfunc/erfc.c
0398   ${GSL_DIR}/specfunc/exp.c
0399   ${GSL_DIR}/specfunc/expint.c
0400   ${GSL_DIR}/specfunc/expint3.c
0401   ${GSL_DIR}/specfunc/fermi_dirac.c
0402   ${GSL_DIR}/specfunc/gamma.c
0403   ${GSL_DIR}/specfunc/gamma_inc.c
0404   ${GSL_DIR}/specfunc/gegenbauer.c
0405   ${GSL_DIR}/specfunc/hyperg.c
0406   ${GSL_DIR}/specfunc/hyperg_0F1.c
0407   ${GSL_DIR}/specfunc/hyperg_1F1.c
0408   ${GSL_DIR}/specfunc/hyperg_2F0.c
0409   ${GSL_DIR}/specfunc/hyperg_2F1.c
0410   ${GSL_DIR}/specfunc/hyperg_U.c
0411   ${GSL_DIR}/specfunc/laguerre.c
0412   ${GSL_DIR}/specfunc/lambert.c
0413   ${GSL_DIR}/specfunc/legendre_con.c
0414   ${GSL_DIR}/specfunc/legendre_H3d.c
0415   ${GSL_DIR}/specfunc/legendre_poly.c
0416   ${GSL_DIR}/specfunc/legendre_Qn.c
0417   ${GSL_DIR}/specfunc/log.c
0418   ${GSL_DIR}/specfunc/mathieu_angfunc.c
0419   ${GSL_DIR}/specfunc/mathieu_charv.c
0420   ${GSL_DIR}/specfunc/mathieu_coeff.c
0421   ${GSL_DIR}/specfunc/mathieu_radfunc.c
0422   ${GSL_DIR}/specfunc/mathieu_workspace.c
0423   ${GSL_DIR}/specfunc/poch.c
0424   ${GSL_DIR}/specfunc/pow_int.c
0425   ${GSL_DIR}/specfunc/psi.c
0426   ${GSL_DIR}/specfunc/result.c
0427   ${GSL_DIR}/specfunc/shint.c
0428   ${GSL_DIR}/specfunc/sinint.c
0429   ${GSL_DIR}/specfunc/synchrotron.c
0430   ${GSL_DIR}/specfunc/transport.c
0431   ${GSL_DIR}/specfunc/trig.c
0432   ${GSL_DIR}/specfunc/zeta.c
0433   ${GSL_DIR}/statistics/absdev.c
0434   ${GSL_DIR}/statistics/covariance.c
0435   ${GSL_DIR}/statistics/kurtosis.c
0436   ${GSL_DIR}/statistics/lag1.c
0437   ${GSL_DIR}/statistics/mean.c
0438   ${GSL_DIR}/statistics/median.c
0439   ${GSL_DIR}/statistics/minmax.c
0440   ${GSL_DIR}/statistics/p_variance.c
0441   ${GSL_DIR}/statistics/quantiles.c
0442   ${GSL_DIR}/statistics/skew.c
0443   ${GSL_DIR}/statistics/ttest.c
0444   ${GSL_DIR}/statistics/variance.c
0445   ${GSL_DIR}/statistics/wabsdev.c
0446   ${GSL_DIR}/statistics/wkurtosis.c
0447   ${GSL_DIR}/statistics/wmean.c
0448   ${GSL_DIR}/statistics/wskew.c
0449   ${GSL_DIR}/statistics/wvariance.c
0450   ${GSL_DIR}/sum/levin_u.c
0451   ${GSL_DIR}/sum/levin_utrunc.c
0452   ${GSL_DIR}/sum/work_u.c
0453   ${GSL_DIR}/sum/work_utrunc.c
0454   ${GSL_DIR}/sys/coerce.c
0455   ${GSL_DIR}/sys/expm1.c
0456   ${GSL_DIR}/sys/fcmp.c
0457   ${GSL_DIR}/sys/fdiv.c
0458   ${GSL_DIR}/sys/hypot.c
0459   ${GSL_DIR}/sys/infnan.c
0460   ${GSL_DIR}/sys/invhyp.c
0461   ${GSL_DIR}/sys/ldfrexp.c
0462   ${GSL_DIR}/sys/log1p.c
0463   ${GSL_DIR}/sys/minmax.c
0464   ${GSL_DIR}/sys/pow_int.c
0465   ${GSL_DIR}/sys/prec.c
0466   ${GSL_DIR}/test/results.c
0467   ${GSL_DIR}/vector/copy.c
0468   ${GSL_DIR}/vector/file.c
0469   ${GSL_DIR}/vector/init.c
0470   ${GSL_DIR}/vector/minmax.c
0471   ${GSL_DIR}/vector/oper.c
0472   ${GSL_DIR}/vector/prop.c
0473   ${GSL_DIR}/vector/reim.c
0474   ${GSL_DIR}/vector/subvector.c
0475   ${GSL_DIR}/vector/swap.c
0476   ${GSL_DIR}/vector/vector.c
0477   ${GSL_DIR}/vector/view.c
0478   ${GSL_DIR}/wavelet/bspline.c
0479   ${GSL_DIR}/wavelet/daubechies.c
0480   ${GSL_DIR}/wavelet/dwt.c
0481   ${GSL_DIR}/wavelet/haar.c
0482   ${GSL_DIR}/wavelet/wavelet.c
0483   ${GSL_DIR}/bspline/bspline.c
0484   
0485   # prevent linker errors
0486   ${GSL_DIR}/matrix/swap.c
0487   ${GSL_DIR}/multifit/fdfsolver.c
0488   ${GSL_DIR}/block/init.c
0489 )
0490 
0491 
0492 set(cblas_source_list
0493   ${GSL_DIR}/cblas/caxpy.c
0494   ${GSL_DIR}/cblas/ccopy.c
0495   ${GSL_DIR}/cblas/cdotc_sub.c
0496   ${GSL_DIR}/cblas/cdotu_sub.c
0497   ${GSL_DIR}/cblas/cgbmv.c
0498   ${GSL_DIR}/cblas/cgemm.c
0499   ${GSL_DIR}/cblas/cgemv.c
0500   ${GSL_DIR}/cblas/cgerc.c
0501   ${GSL_DIR}/cblas/cgeru.c
0502   ${GSL_DIR}/cblas/chbmv.c
0503   ${GSL_DIR}/cblas/chemm.c
0504   ${GSL_DIR}/cblas/chemv.c
0505   ${GSL_DIR}/cblas/cher.c
0506   ${GSL_DIR}/cblas/cher2.c
0507   ${GSL_DIR}/cblas/cher2k.c
0508   ${GSL_DIR}/cblas/cherk.c
0509   ${GSL_DIR}/cblas/chpmv.c
0510   ${GSL_DIR}/cblas/chpr.c
0511   ${GSL_DIR}/cblas/chpr2.c
0512   ${GSL_DIR}/cblas/cscal.c
0513   ${GSL_DIR}/cblas/csscal.c
0514   ${GSL_DIR}/cblas/cswap.c
0515   ${GSL_DIR}/cblas/csymm.c
0516   ${GSL_DIR}/cblas/csyr2k.c
0517   ${GSL_DIR}/cblas/csyrk.c
0518   ${GSL_DIR}/cblas/ctbmv.c
0519   ${GSL_DIR}/cblas/ctbsv.c
0520   ${GSL_DIR}/cblas/ctpmv.c
0521   ${GSL_DIR}/cblas/ctpsv.c
0522   ${GSL_DIR}/cblas/ctrmm.c
0523   ${GSL_DIR}/cblas/ctrmv.c
0524   ${GSL_DIR}/cblas/ctrsm.c
0525   ${GSL_DIR}/cblas/ctrsv.c
0526   ${GSL_DIR}/cblas/dasum.c
0527   ${GSL_DIR}/cblas/daxpy.c
0528   ${GSL_DIR}/cblas/dcopy.c
0529   ${GSL_DIR}/cblas/ddot.c
0530   ${GSL_DIR}/cblas/dgbmv.c
0531   ${GSL_DIR}/cblas/dgemm.c
0532   ${GSL_DIR}/cblas/dgemv.c
0533   ${GSL_DIR}/cblas/dger.c
0534   ${GSL_DIR}/cblas/dnrm2.c
0535   ${GSL_DIR}/cblas/drot.c
0536   ${GSL_DIR}/cblas/drotg.c
0537   ${GSL_DIR}/cblas/drotm.c
0538   ${GSL_DIR}/cblas/drotmg.c
0539   ${GSL_DIR}/cblas/dsbmv.c
0540   ${GSL_DIR}/cblas/dscal.c
0541   ${GSL_DIR}/cblas/dsdot.c
0542   ${GSL_DIR}/cblas/dspmv.c
0543   ${GSL_DIR}/cblas/dspr.c
0544   ${GSL_DIR}/cblas/dspr2.c
0545   ${GSL_DIR}/cblas/dswap.c
0546   ${GSL_DIR}/cblas/dsymm.c
0547   ${GSL_DIR}/cblas/dsymv.c
0548   ${GSL_DIR}/cblas/dsyr.c
0549   ${GSL_DIR}/cblas/dsyr2.c
0550   ${GSL_DIR}/cblas/dsyr2k.c
0551   ${GSL_DIR}/cblas/dsyrk.c
0552   ${GSL_DIR}/cblas/dtbmv.c
0553   ${GSL_DIR}/cblas/dtbsv.c
0554   ${GSL_DIR}/cblas/dtpmv.c
0555   ${GSL_DIR}/cblas/dtpsv.c
0556   ${GSL_DIR}/cblas/dtrmm.c
0557   ${GSL_DIR}/cblas/dtrmv.c
0558   ${GSL_DIR}/cblas/dtrsm.c
0559   ${GSL_DIR}/cblas/dtrsv.c
0560   ${GSL_DIR}/cblas/dzasum.c
0561   ${GSL_DIR}/cblas/dznrm2.c
0562   ${GSL_DIR}/cblas/hypot.c
0563   ${GSL_DIR}/cblas/icamax.c
0564   ${GSL_DIR}/cblas/idamax.c
0565   ${GSL_DIR}/cblas/isamax.c
0566   ${GSL_DIR}/cblas/izamax.c
0567   ${GSL_DIR}/cblas/sasum.c
0568   ${GSL_DIR}/cblas/saxpy.c
0569   ${GSL_DIR}/cblas/scasum.c
0570   ${GSL_DIR}/cblas/scnrm2.c
0571   ${GSL_DIR}/cblas/scopy.c
0572   ${GSL_DIR}/cblas/sdot.c
0573   ${GSL_DIR}/cblas/sdsdot.c
0574   ${GSL_DIR}/cblas/sgbmv.c
0575   ${GSL_DIR}/cblas/sgemm.c
0576   ${GSL_DIR}/cblas/sgemv.c
0577   ${GSL_DIR}/cblas/sger.c
0578   ${GSL_DIR}/cblas/snrm2.c
0579   ${GSL_DIR}/cblas/srot.c
0580   ${GSL_DIR}/cblas/srotg.c
0581   ${GSL_DIR}/cblas/srotm.c
0582   ${GSL_DIR}/cblas/srotmg.c
0583   ${GSL_DIR}/cblas/ssbmv.c
0584   ${GSL_DIR}/cblas/sscal.c
0585   ${GSL_DIR}/cblas/sspmv.c
0586   ${GSL_DIR}/cblas/sspr.c
0587   ${GSL_DIR}/cblas/sspr2.c
0588   ${GSL_DIR}/cblas/sswap.c
0589   ${GSL_DIR}/cblas/ssymm.c
0590   ${GSL_DIR}/cblas/ssymv.c
0591   ${GSL_DIR}/cblas/ssyr.c
0592   ${GSL_DIR}/cblas/ssyr2.c
0593   ${GSL_DIR}/cblas/ssyr2k.c
0594   ${GSL_DIR}/cblas/ssyrk.c
0595   ${GSL_DIR}/cblas/stbmv.c
0596   ${GSL_DIR}/cblas/stbsv.c
0597   ${GSL_DIR}/cblas/stpmv.c
0598   ${GSL_DIR}/cblas/stpsv.c
0599   ${GSL_DIR}/cblas/strmm.c
0600   ${GSL_DIR}/cblas/strmv.c
0601   ${GSL_DIR}/cblas/strsm.c
0602   ${GSL_DIR}/cblas/strsv.c
0603   ${GSL_DIR}/cblas/xerbla.c
0604   ${GSL_DIR}/cblas/zaxpy.c
0605   ${GSL_DIR}/cblas/zcopy.c
0606   ${GSL_DIR}/cblas/zdotc_sub.c
0607   ${GSL_DIR}/cblas/zdotu_sub.c
0608   ${GSL_DIR}/cblas/zdscal.c
0609   ${GSL_DIR}/cblas/zgbmv.c
0610   ${GSL_DIR}/cblas/zgemm.c
0611   ${GSL_DIR}/cblas/zgemv.c
0612   ${GSL_DIR}/cblas/zgerc.c
0613   ${GSL_DIR}/cblas/zgeru.c
0614   ${GSL_DIR}/cblas/zhbmv.c
0615   ${GSL_DIR}/cblas/zhemm.c
0616   ${GSL_DIR}/cblas/zhemv.c
0617   ${GSL_DIR}/cblas/zher.c
0618   ${GSL_DIR}/cblas/zher2.c
0619   ${GSL_DIR}/cblas/zher2k.c
0620   ${GSL_DIR}/cblas/zherk.c
0621   ${GSL_DIR}/cblas/zhpmv.c
0622   ${GSL_DIR}/cblas/zhpr.c
0623   ${GSL_DIR}/cblas/zhpr2.c
0624   ${GSL_DIR}/cblas/zscal.c
0625   ${GSL_DIR}/cblas/zswap.c
0626   ${GSL_DIR}/cblas/zsymm.c
0627   ${GSL_DIR}/cblas/zsyr2k.c
0628   ${GSL_DIR}/cblas/zsyrk.c
0629   ${GSL_DIR}/cblas/ztbmv.c
0630   ${GSL_DIR}/cblas/ztbsv.c
0631   ${GSL_DIR}/cblas/ztpmv.c
0632   ${GSL_DIR}/cblas/ztpsv.c
0633   ${GSL_DIR}/cblas/ztrmm.c
0634   ${GSL_DIR}/cblas/ztrmv.c
0635   ${GSL_DIR}/cblas/ztrsm.c
0636   ${GSL_DIR}/cblas/ztrsv.c
0637 )
0638 
0639 include_directories(${CMAKE_SOURCE_DIR})
0640 
0641 macro(GSL_FILES name folder)
0642         file(GLOB ${name}_folder_sources ${GSL_DIR}/${folder}/*.c) 
0643         file(GLOB ${name}_folder_headers ${GSL_DIR}/${folder}/*.h) 
0644         set(${name}_sources ${${name}_sources} ${${name}_folder_sources})
0645         set(${name}_headers ${${name}_headers} ${${name}_folder_headers})
0646         include_directories(${GSL_DIR}/${folder})
0647 endmacro()
0648 
0649 set(gsl_folders . blas block bspline cblas cdf cheb combination complex const deriv dht diff eigen err fft fit gsl 
0650 histogram ieee-utils integration interpolation linalg matrix min monte multifit multimin multiroots ntuple ode-initval 
0651 permutation poly qrng randist rng roots siman sort specfunc statistics sum sys test utils vector wavelet)
0652 
0653 # collect headers
0654 foreach(current ${gsl_folders})
0655         GSL_FILES(gsl ${current} ) 
0656 endforeach()
0657 
0658 # copy headers to include/gsl
0659 foreach(current ${gsl_headers})
0660         get_filename_component(filename ${current} NAME)
0661         configure_file(${current} ${CMAKE_CURRENT_BINARY_DIR}/include/gsl/${filename} COPYONLY) 
0662 endforeach()
0663 
0664 
0665 if(MSVC)
0666         add_definitions(-D_CRT_SECURE_NO_WARNINGS)
0667         set(CMAKE_DEBUG_POSTFIX d)
0668 endif()
0669 
0670 include_directories(
0671   ${GSL_DIR}
0672   ${CMAKE_CURRENT_BINARY_DIR}/include
0673 )
0674 
0675 add_library(gsl STATIC ${gsl_source_list} ${cblas_source_list} ${gsl_headers})
0676 
0677 if (NOT CMAKE_INSTALL_PREFIX)
0678         set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/installed)
0679 endif()
0680 
0681 install(FILES ${gsl_headers} DESTINATION include/gsl)
0682 install(TARGETS gsl DESTINATION lib)
0683 
0684