Closed dfm closed 11 years ago
I would love to have a proper build process. Will check out your changes and think about merging. Thanks!
I especially want this because then we can do the same for Star-Field...
Sounds good. For Star-Field I'd like to also set up some kind of script file so people can specify options inside there rather than having to recompile code in order to change a feature (which is incredibly user unfriendly).
I'm merging this. I tried it and it works nicely. The current build process will also work still so I don't have to change my setup. Good stuff.
Two issues though which I will fix shortly - when compiling you need the -fPIC option or the shared library won't work. Also the appropriate dependency is libgsl0-dev in Ubuntu because you need the headers!
I'm enjoying CMake for build C++ libraries so I spent a few minutes setting it up for DNest. What do you think of this? I should automatically deal with users that don't have Boost installed.