On Tue, Sep 01, 2015 at 05:46:35PM +0200, Alexis wrote: > Hello Richard, > acprep is a convenience build script, which basically runs: > > % cmake . && make > > So that command should compile ledger for you using the dependencies > from MacPorts. > > I'm working on improving and documenting the ledger CMake files, > so that using cmake directly and knowing about the various > configuration options will become easier. > > Here's a list of options ledger's cmake process understands: > % grep option CMakeLists.txt > option(USE_PYTHON "Build support for the Python scripting bridge" OFF) > option(USE_DOXYGEN "Build reference documentation using Doxygen" OFF) > option(DISABLE_ASSERTS "Build without any internal consistency checks" OFF) > option(BUILD_DEBUG "Build support for runtime debugging" OFF) > option(BUILD_LIBRARY "Build and install Ledger as a library" ON) > option(BUILD_DOCS "Build and install documentation" OFF) > option(BUILD_WEB_DOCS "Build version of documentation suitable for viewing > online" OFF) > option(BUILD_EMACSLISP "Build and install ledger-mode for Emacs" OFF) > > So if you would like to use the ledger's Python module you would need to run: > % cmake -DUSE_PYTHON=ON . && make # I recommend using make -j > > Please report back if certain dependencies such as boost, gmp or mpfr > aren't found.
Thanks for your reply! I have the dependencies installed (by hand, btw, because I don't really want to have to install the +universal variants of all of the MacPorts packages). My questions at this point are rather more basic -- and I should have made that clearer in my original email; sorry about that. 1) What are the various branches in the 3.x release that I might reasonably want to use, and what are the tradeoffs between them? 2) Once I've decided which branch to use, what is the git command to check out that branch? That is, I'm looking for something like, "well, you could use either branch X or branch Y: branch X gets you access to the latest features, but it's occasionally broken; Y moves more slowly but is much more likely to build and run." And the git question isn't about version control in general -- I've been using various version control tools for years; I'm just not familiar with git. Thanks much, Richard -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
