Commit graph

4240 commits

Author SHA1 Message Date
John Wiegley
e53f6b2c05 Merge pull request #77 from bkuhn/acprep-wrong-cmake-install-prefix
Correct cmake variable for install prefix is "CMAKE_INSTALL_PREFIX", not "CMAKE_PREFIX_PATH".
2012-09-06 17:17:14 -07:00
John Wiegley
d994c03292 Merge pull request #78 from bkuhn/README-FAQ-on-building-own-boost-cmake
FAQ entry on how build your own Boost and/or CMake for use with Ledger.
2012-09-06 17:16:18 -07:00
Bradley M. Kuhn
6fff6e993a FAQ entry on how build your own Boost and/or CMake for use with Ledger.
Debian squeeze, which is currently the stable distribution at the time of
this commit, has both a Boost and a CMake that is too old for Ledger.
This FAQ entry explains how to build your own Boost and CMake for use with
Ledger, and the exact commands to type to build and install each, and then
configure, build and install Ledger against those new versions.
2012-09-06 19:35:21 -04:00
Bradley M. Kuhn
5b916dae6c Correct cmake variable for install prefix is "CMAKE_INSTALL_PREFIX", not "CMAKE_PREFIX_PATH".
CMAKE_PREFIX_PATH is for searching for other programs, not for the place
to install this one.  Based on acprep's --help, I think the intention was
to use CMAKE_INSTALL_PREFIX here.
2012-09-06 19:25:09 -04:00
John Wiegley
779378288f Merge pull request #76 from bkuhn/cmake-python-prepend-version-search-list
Ledger's Python API is known to work best against Python 2.7 &/or 2.6
2012-09-06 13:17:19 -07:00
Bradley M. Kuhn
72fa58b7fb Ledger's Python API is known to work best against Python 2.7, then Python 2.6
Indeed, at the moment, it doesn't work against Python 3.x at all, so
ideally, we'd like to tell CMake that no Python versions except 2.7 and
2.6 are acceptable.  However, at least as of CMake 2.8.8, there appears to
be no way to instruct CMake to never consider other versions of Python.

In other words, Python_ADDITIONAL_VERSIONS is prepended to the list of
possible Python versions considered, rather than replacing it wholly.

Theoretically, we could try to diddle withe the internal CMake variables
_PYTHON_FIND_OTHER_VERSIONS or _Python_VERSIONS somehow, but that seems
kludgey and dangerous.  This patch is probably "enough for now" to at
least make sure that if the user has both Python 2.x and Python 3.x
installed, some version of 2.x that is known to work will be preferred.
2012-09-06 16:12:31 -04:00
John Wiegley
608d27a774 Merge pull request #74 from hwright/next
Fix a couple of compilation warnings
2012-08-16 08:51:08 -07:00
Martin Michlmayr
bb9ba01cd2 Typo fix 2012-08-15 12:24:32 +01:00
Hyrum Wright
73aa585efa Fix compilation warning: ensure a destructor is properly defined to avoid
compiler confusion.
2012-08-14 01:23:32 -04:00
Hyrum Wright
6ccb5e9687 Fix compilation warning: be sure we call the base class copy constructor. 2012-08-14 01:23:04 -04:00
John Wiegley
97693b43b5 Resolve account.date to latest post in the account 2012-08-09 16:56:53 -05:00
John Wiegley
e716995311 Patch reports with markers to allow xact shifting 2012-08-08 00:34:07 -05:00
John Wiegley
a54ee9047b Doc fix 2012-08-07 15:19:59 -05:00
John Wiegley
afc023406a Always store absolute paths internally 2012-08-02 16:13:58 -05:00
John Wiegley
2de6af2761 Don't use __has_feature in utils.cc 2012-08-02 13:11:24 -05:00
John Wiegley
f34a4e315e Change occurences of #+srcname to #+name 2012-08-01 16:08:43 -05:00
John Wiegley
8538878d8d Guard some function definitions for ASan 2012-07-30 23:24:15 -05:00
John Wiegley
14ab4f7775 Updated to Boost 1.50 2012-07-30 23:24:04 -05:00
John Wiegley
39ce225004 Added a link_directories statement 2012-07-30 23:20:55 -05:00
John Wiegley
d203393cab Allow non-register reports to work again 2012-07-30 22:35:21 -05:00
John Wiegley
e6acb5a9cc Require ldg-report from ldg-new (for now) 2012-07-30 22:32:29 -05:00
John Wiegley
628fc01962 Add ability to visit source line from ldg-report 2012-07-30 22:32:10 -05:00
John Wiegley
1751a8ee27 Change git:// submodule URL to http:// 2012-07-02 16:45:01 -05:00
John Wiegley
8869566331 Fixed a subtle memory overwrite
Fixes #608
2012-06-27 16:55:46 -05:00
John Wiegley
cbf4cba18b Fixed a minor documentation bug 2012-06-25 19:10:45 -05:00
John Wiegley
2720f79522 Fix reference to self.options.products_dir 2012-06-11 18:57:17 -05:00
John Wiegley
571d711523 Was missing a period 2012-06-08 15:06:11 -05:00
John Wiegley
b64dcf7202 Change self.prefix_dir -> self.options.prefix_dir 2012-06-07 22:37:38 -05:00
John Wiegley
c2cc47bc98 Reduce Boost dependency to 1.46 2012-05-30 21:44:36 -05:00
John Wiegley
ff589a1656 Also using Clang's PCH with my "cxx" compiler 2012-05-27 03:02:42 -05:00
John Wiegley
8917c929f2 Merge pull request #66 from egh/next
Remove keyword OPTIONAL_COMPONENTS, not present in cmake 2.8.7
2012-05-26 23:26:45 -07:00
Erik Hetzner
9dc812fb7e Remove keyword OPTIONAL_COMPONENTS, not present in cmake 2.8.7 2012-05-26 08:39:11 -07:00
John Wiegley
2512ad3051 Reduce minimum CMake version to 2.8.5 2012-05-25 04:14:27 -05:00
John Wiegley
98df1296fe Build fixes to acprep and build.sh 2012-05-25 04:13:14 -05:00
John Wiegley
ed150182fb Added script for building Boost with icc 2012-05-25 01:52:43 -05:00
John Wiegley
efee3d3244 Converted README to Markdown format 2012-05-25 01:52:33 -05:00
John Wiegley
8d9aeaaf19 Don't even look for Gettext, for now 2012-05-25 01:24:50 -05:00
John Wiegley
09f5f7e826 Don't explicitly disable multithreaded Boost 2012-05-23 05:29:28 -05:00
John Wiegley
636b878e70 Give a reasonable error if CMake cannot be found 2012-05-23 02:00:02 -05:00
John Wiegley
c404f94d64 Changed the way that LDFLAGS is passed to CMake 2012-05-20 22:45:17 -05:00
John Wiegley
d1444f4c97 Fixed a reference to HAVE_EDIT 2012-05-20 18:17:12 -05:00
John Wiegley
de7322b48c Handle NO_ASSERTS differently in CMakeLists.txt 2012-05-20 16:07:43 -05:00
John Wiegley
05d1704eb8 Removed an unnecessary #define 2012-05-20 16:06:43 -05:00
John Wiegley
54649d1b7a Make profiling builds work with Clang 2012-05-20 16:06:32 -05:00
John Wiegley
a916ed87bc Guard against an incorrect use of assert() 2012-05-20 15:31:49 -05:00
John Wiegley
0c1f40754a Build gcov mode also for Clang 2012-05-20 15:31:40 -05:00
John Wiegley
45c2b3307e CMake doesn't enable DEBUG by default, acprep does 2012-05-20 15:31:29 -05:00
John Wiegley
2345f48094 Changed all ASSERTS_ON -> !NO_ASSERTS 2012-05-20 15:25:10 -05:00
John Wiegley
1b1c7cd4ac A few more CMake-related fixes 2012-05-20 15:23:52 -05:00
John Wiegley
f579e6ddac Work around inclusion ordering bug with Xpressive 2012-05-20 15:15:54 -05:00