Commit graph

20 commits

Author SHA1 Message Date
Alexis Hildebrandt
80022bf04a [cmake] Minor cleanup 2015-01-20 10:12:25 +01:00
Hans Erik van Elburg
98f67600a8 merge double fix + make changes minimalistic 2015-01-04 13:57:31 +01:00
Hans Erik van Elburg
93c55c5ec6 also added cygwin tweak to src/CMakeLists.txt 2015-01-03 23:35:39 +01:00
Martin Michlmayr
2cee0fe23f Cosmetic change - format code consistently
Add a space between if and the opening bracket, between a closing
round bracket and the following opening curly bracket, etc.
2014-05-18 09:51:32 -04:00
John Wiegley
1aa0e03a9e Fix build for building with g++ 4.8 2014-05-07 20:49:45 +00:00
Johann Klähn
73caafa2c5 fix debug build for gcc
-ansi ≡ -std=c++98 ;)
2014-05-07 19:08:06 +02:00
David Bremner
0ef8256409 Replace sha1.cc with boost::uuid::details::sha1
sha1.cc is not redistributable by Debian because the license doesn't
permit redistribution of modified versions.

This isn't ideal since the ::details namespace is subject to change,
but it avoids adding a dependency to ledger.
2014-04-17 14:27:21 -05:00
Alexis Hildebrandt
8629f92cf8 CMake: Remove installation of third party code 2014-03-10 12:16:59 +01:00
Kan-Ru Chen (陳侃如)
d5b5ea0213 Correctly justify Unicode characters in terminal
Many Unicode characters take more spaces than one ASCII character. For
example, Chinese characters are two characters wide when using monospace
font in terminal. This patch use wcwidth of Markus Kuhn to count the
correct width for justification.
2014-02-13 18:40:06 +08:00
Alexis Hildebrandt
b359e851fe Correctly set runtime path on Linux on install 2014-02-03 12:02:03 +01:00
Johann Klähn
0dc2b97813 python module file suffix is platform dependent 2014-02-01 12:10:53 +01:00
Alexis Hildebrandt
6eeda8bcea Fix shared library and python module
Conflicts:
	src/CMakeLists.txt
2014-02-01 12:00:32 +01:00
Johann Klähn
36b4fc3e2f no RENAME option on older CMake versions
The RENAME option for install(TARGETS ...) does not seem to be available
on all CMake versions.
2014-02-01 10:23:51 +01:00
Johann Klähn
89c21e9967 build shared library/python module, clean up CMake
libledger will now be built as a shared library. You can 'import ledger'
from python IFF you copy libledger.so to ledger.so or create a symlink.
2014-02-01 01:30:53 +01:00
Alexis Hildebrandt
82486f6d43 Build and shared python module
when building library
2014-01-27 21:06:44 +01:00
Tim Crews
0dbb38fe27 Source changes needed for Microsoft Visual C++ compatibility.
Includes an implementation of strptime, compiled only for Win32 platform.
2013-06-14 21:29:47 -07:00
John Wiegley
0ab56f5d85 Add -Wno-disabled-macro-expansion 2013-05-19 02:14:27 -05:00
John Wiegley
ff589a1656 Also using Clang's PCH with my "cxx" compiler 2012-05-27 03:02:42 -05:00
John Wiegley
54649d1b7a Make profiling builds work with Clang 2012-05-20 16:06:32 -05:00
John Wiegley
4681e58d7f Converted the Ledger build system to use CMake 2012-05-20 04:48:05 -05:00