source: sasview/sasmodels/CMakeLists.txt @ f994d7cd

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 f994d7cd was 3a39c2e, checked in by krzywon, 10 years ago

Next iteration of the SANS→SAS is complete.

  • Property mode set to 100644
File size: 3.8 KB
Line 
1# CMakeLists for SAS models
2cmake_minimum_required (VERSION 2.6)
3project (SasModels)
4
5# Version number
6set (SasModels_VERSION_MAJOR 1)
7set (SasModels_VERSION_MAJOR 0)
8
9set (SRC_FILES
10    src/c_models/barbell.cpp
11    src/c_models/bcc.cpp
12    src/c_models/binaryHS.cpp
13    src/c_models/binaryHS_PSF11.cpp
14    src/c_models/capcyl.cpp
15    src/c_models/corefourshell.cpp
16    src/c_models/coreshellcylinder.cpp
17    src/c_models/coreshellsphere.cpp
18    src/c_models/csparallelepiped.cpp
19    src/c_models/cylinder.cpp
20    src/c_models/DiamCyl.cpp
21    src/c_models/DiamEllip.cpp
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
26    src/c_models/flexcyl_ellipX.cpp
27    src/c_models/flexiblecylinder.cpp
28    src/c_models/fractal.cpp
29    src/c_models/fuzzysphere.cpp
30    src/c_models/gamma_win.c
31    src/c_models/gaussian.cpp
32    src/c_models/Hardsphere.cpp
33    src/c_models/HayterMSA.cpp
34    src/c_models/hollowcylinder.cpp
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
43    src/c_models/lorentzian.cpp
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
52    src/c_models/rpa.cpp
53    src/c_models/sc.cpp
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
64    src/libigor/GaussWeights.c
65    src/libigor/libCylinder.c
66    src/libigor/libSphere.c
67    src/libigor/libStructureFactor.c
68    src/libigor/libTwoPhase.c
69    )
70
71set ( INC_FILES
72    src/c_models/dispersion_visitor.hh
73    src/c_models/gamma_win.h
74    src/c_models/parameters.hh
75    include/barbell.h
76    include/bcc.h
77    include/binaryHS.h
78    include/capcyl.h
79    include/core_shell.h
80    include/core_shell_cylinder.h
81    include/corefourshell.h
82    include/csparallelepiped.h
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
89    include/flexcyl_ellipX.h
90    include/flexible_cylinder.h
91    include/fractal.h
92    include/fuzzysphere.h
93    include/gaussian.h
94    include/Hardsphere.h
95    include/HayterMSA.h
96    include/hollow_cylinder.h
97    include/lamellar.h
98    include/lamellarFF_HG.h
99    include/lamellarPC.h
100    include/lamellarPS.h
101    include/lamellarPS_HG.h
102    include/logNormal.h
103    include/lorentzian.h
104    include/multishell.h
105    include/onion.h
106    include/parallelepiped.h
107    include/pearlnecklace.h
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
114    include/sld_cal.h
115    include/sphere.h
116    include/spheresld.h
117    include/spheroid.h
118    include/SquareWell.h
119    include/stacked_disks.h
120    include/StickyHS.h
121    include/triaxial_ellipsoid.h
122    include/vesicle.h
123    src/libigor/GaussWeights.h
124    src/libigor/libCylinder.h
125    src/libigor/libSASAnalysis.h
126    src/libigor/libSphere.h
127    src/libigor/libStructureFactor.h
128    src/libigor/libTwoPhase.h
129    src/libigor/StandardHeaders.h
130    src/libigor/winFuncs.h
131
132)
133   
134include_directories (src/libigor include src/c_models)
135
136# Add the target for this directory
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.