source: sasview/sansmodels/CMakeLists.txt @ 230f479

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 230f479 was 1d80bb2, checked in by Mathieu Doucet <doucetm@…>, 11 years ago

Move sansmodels package

  • Property mode set to 100644
File size: 3.9 KB
RevLine 
[14de443]1# CMakeLists for SANS models
2cmake_minimum_required (VERSION 2.6)
3project (SansModels)
4
5# Version number
6set (SansModels_VERSION_MAJOR 1)
7set (SansModels_VERSION_MAJOR 0)
8
9set (SRC_FILES
[62dc94b]10    src/c_models/barbell.cpp
11    src/c_models/bcc.cpp
[14de443]12    src/c_models/binaryHS.cpp
[62dc94b]13    src/c_models/binaryHS_PSF11.cpp
14    src/c_models/capcyl.cpp
15    src/c_models/corefourshell.cpp
[14de443]16    src/c_models/coreshellcylinder.cpp
17    src/c_models/coreshellsphere.cpp
18    src/c_models/csparallelepiped.cpp
19    src/c_models/cylinder.cpp
[62dc94b]20    src/c_models/DiamCyl.cpp
[14de443]21    src/c_models/DiamEllip.cpp
[62dc94b]22    src/c_models/dispersion_visitor.cpp
23    src/c_models/ellipsoid.cpp
24    src/c_models/ellipticalcylinder.cpp
25    src/c_models/fcc.cpp
[14de443]26    src/c_models/flexcyl_ellipX.cpp
[62dc94b]27    src/c_models/flexiblecylinder.cpp
28    src/c_models/fractal.cpp
[14de443]29    src/c_models/fuzzysphere.cpp
[62dc94b]30    src/c_models/gamma_win.c
31    src/c_models/gaussian.cpp
[14de443]32    src/c_models/Hardsphere.cpp
[62dc94b]33    src/c_models/HayterMSA.cpp
[14de443]34    src/c_models/hollowcylinder.cpp
[62dc94b]35    src/c_models/lamellar.cpp
36    src/c_models/lamellarFF_HG.cpp
37    src/c_models/lamellarPC.cpp
38    src/c_models/lamellarPS.cpp
39    src/c_models/lamellarPS_HG.cpp
40    src/c_models/libfunc.c
41    src/c_models/librefl.c
42    src/c_models/logNormal.cpp
[14de443]43    src/c_models/lorentzian.cpp
[62dc94b]44    src/c_models/multishell.cpp
45    src/c_models/onion.cpp
46    src/c_models/parallelepiped.cpp
47    src/c_models/parameters.cpp
48    src/c_models/pearlnecklace.cpp
49    src/c_models/polygausscoil.cpp
50    src/c_models/refl.cpp
51    src/c_models/refl_adv.cpp
[14de443]52    src/c_models/rpa.cpp
53    src/c_models/sc.cpp
[62dc94b]54    src/c_models/schulz.cpp
55    src/c_models/sld_cal.cpp
56    src/c_models/sphere.cpp
57    src/c_models/spheresld.cpp
58    src/c_models/spheroid.cpp
59    src/c_models/SquareWell.cpp
60    src/c_models/stackeddisks.cpp
61    src/c_models/StickyHS.cpp
62    src/c_models/triaxialellipsoid.cpp
63    src/c_models/vesicle.cpp
[14de443]64    src/libigor/GaussWeights.c
[62dc94b]65    src/libigor/libCylinder.c
[14de443]66    src/libigor/libSphere.c
[62dc94b]67    src/libigor/libStructureFactor.c
68    src/libigor/libTwoPhase.c
[14de443]69    )
70
71set ( INC_FILES
[62dc94b]72    src/c_models/dispersion_visitor.hh
[14de443]73    src/c_models/gamma_win.h
74    src/c_models/parameters.hh
[62dc94b]75    include/barbell.h
76    include/bcc.h
[503a972]77    include/binaryHS.h
[62dc94b]78    include/capcyl.h
79    include/core_shell.h
80    include/core_shell_cylinder.h
81    include/corefourshell.h
[503a972]82    include/csparallelepiped.h
[62dc94b]83    include/cylinder.h
84    include/DiamCyl.h
85    include/DiamEllip.h
86    include/ellipsoid.h
87    include/elliptical_cylinder.h
88    include/fcc.h
[503a972]89    include/flexcyl_ellipX.h
[62dc94b]90    include/flexible_cylinder.h
91    include/fractal.h
92    include/fuzzysphere.h
[503a972]93    include/gaussian.h
[62dc94b]94    include/Hardsphere.h
95    include/HayterMSA.h
96    include/hollow_cylinder.h
97    include/lamellar.h
[503a972]98    include/lamellarFF_HG.h
[62dc94b]99    include/lamellarPC.h
100    include/lamellarPS.h
[503a972]101    include/lamellarPS_HG.h
[62dc94b]102    include/logNormal.h
[503a972]103    include/lorentzian.h
[62dc94b]104    include/multishell.h
105    include/onion.h
[503a972]106    include/parallelepiped.h
107    include/pearlnecklace.h
[62dc94b]108    include/polygausscoil.h
109    include/refl.h
110    include/refl_adv.h
111    include/rpa.h
112    include/sc.h
113    include/schulz.h
[503a972]114    include/sld_cal.h
[62dc94b]115    include/sphere.h
116    include/spheresld.h
[503a972]117    include/spheroid.h
[62dc94b]118    include/SquareWell.h
119    include/stacked_disks.h
120    include/StickyHS.h
[503a972]121    include/triaxial_ellipsoid.h
[62dc94b]122    include/vesicle.h
[14de443]123    src/libigor/GaussWeights.h
124    src/libigor/libCylinder.h
[62dc94b]125    src/libigor/libSANSAnalysis.h
[14de443]126    src/libigor/libSphere.h
127    src/libigor/libStructureFactor.h
[62dc94b]128    src/libigor/libTwoPhase.h
129    src/libigor/StandardHeaders.h
130    src/libigor/winFuncs.h
[14de443]131
132)
133   
[503a972]134include_directories (src/libigor include src/c_models)
[14de443]135
136# Add the target for this directory
[62dc94b]137add_library ( models ${SRC_FILES} ${INC_FILES})
138add_executable( libraryTest test/library_test.cpp  ${INC_FILES})
139ADD_DEFINITIONS(-D__MODELS_STANDALONE__)
140ADD_DEPENDENCIES(libraryTest models)
141TARGET_LINK_LIBRARIES(libraryTest models)
Note: See TracBrowser for help on using the repository browser.