aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2021-05-07Implement spheroid importance sampling experiments.Arun Isaac
* src/spheroid.sc: New file. * CMakeLists.txt: Add spheroid executable.
2021-05-07Implement volume of bodies experiments.Arun Isaac
* src/volume-bodies.sc: New file. * CMakeLists.txt: Add volume-bodies executable.
2021-05-07Implement integral experiments.Arun Isaac
* src/integral.sc: New file. * CMakeLists.txt: Explicitly specify sources for nsmc library. Add integral executable.
2021-02-26Add copyright and license headers for all files.Arun Isaac
* include/extent-sampling.h, include/gaussian-nd-random.h, include/integrands.h, include/nd-random.h, include/oracles.h, include/utils.h, src/extent-sampling.sc, src/gaussian-nd-random.sc, src/integrands.sc, src/macros/macros.sc, src/nd-random.sc, src/oracles.sc, src/utils.sc, CMakeLists.txt, pre-inst-env.in: Add copyright and license headers.
2021-02-26Rename project to nsmc.Arun Isaac
2021-02-26Comment about building and installing shared library.Arun Isaac
* CMakeLists.txt: Comment about building and installing shared library.
2021-02-26Include GNUInstallDirs earlier in CMakeLists.Arun Isaac
* CMakeLists.txt: Include GNUInstallDirs earlier.
2021-02-11Link libextentsampling with libgsl and libgslcblas.Arun Isaac
* CMakeLists.txt: Link libextentsampling with libgsl and libgslcblas.
2021-02-10Add pre-installation environment script.Arun Isaac
The pre-inst-env script is required to find freshly built libraries and scheme files before installation. * pre-inst-env.in: New file. * CMakeLists.txt: Configure pre-inst-env.in with correct paths.
2021-02-10Add scheme wrapper.Arun Isaac
* scm/extent-sampling/load-libs.scm.in, scm/extent-sampling/wrap.scm: New files. * CMakeLists.txt: Check for guile. Build and install scheme wrapper. (change_extension): New function.
2021-02-09Install headers and shared library.Arun Isaac
* CMakeLists.txt: Install headers and shared library.
2021-02-09Make indentation of generated C sources optional.Arun Isaac
This is so as to not make indent a build dependency. * CMakeLists.txt: Indent generated C sources only when the indent program is found. Don't fail when indent is not found.
2021-02-05Specify dependency on src/macros/macros.sc.Arun Isaac
Not all SC files need depend on src/macros/macros.sc, but we make this simplifying assumption so as to not have to scan the source files at build time. * CMakeLists.txt: Make every SC file depend on src/macros/macros.sc.
2021-02-05Use semantic versioning.Arun Isaac
* CMakeLists.txt: Use semantic versioning. Introduce patch version number.
2021-02-05Migrate C source to SC.Arun Isaac
sph-sc is a scheme-like S-expression syntax for C. It elements much of the pain and repetition involved in writing C syntax. * src/extent-sampling.c, src/gaussian-nd-random.c, src/nd-random.c, src/oracles.c, src/utils.c: Delete files. * src/extent-sampling.sc, src/gaussian-nd-random.sc, src/macros/macros.sc, src/nd-random.sc, src/oracles.sc, src/utils.sc: New files. * CMakeLists.txt: Generate C source files from SC source files.
2021-02-03Move source files and headers to separate directories.Arun Isaac
* extent-sampling.h, gaussian-nd-random.h, nd-random.h, oracles.h, utils.h: Move into include directory. * extent-sampling.c, gaussian-nd-random.c, nd-random.c, oracles.c, utils.c: Move into src directory. * CMakeLists.txt: Set include as include directory. Look for source files inside src directory.
2021-02-03Set up a cmake build system.Arun Isaac
* Makefile: Delete file. * CMakeLists.txt: New file.