I updated the build script so that ledger builds out of the box under 
cygwin, provided that the correct dependencies are installed already.

See pull request: https://github.com/ledger/ledger/pull/361


Op dinsdag 23 december 2014 00:56:03 UTC+1 schreef Hans Erik van Elburg:
>
>
> * building ledger 3.1 under cygwin
>
> # Used sources:
> - [[https://
> github.com/ledger/ledger/wiki/Build-instructions-for-Cygwin][Build 
> <http://github.com/ledger/ledger/wiki/Build-instructions-for-Cygwin%5D%5BBuild>
>  
> instructions for Cygwin]]
> - [[https://
> groups.google.com/d/msg/ledger-cli/Iumqw02dTOs/HYBzW8tSyw4J][Jo 
> <http://groups.google.com/d/msg/ledger-cli/Iumqw02dTOs/HYBzW8tSyw4J%5D%5BJo> 
> Bernsteins tip:]]
>
>
> # from scratch assuming dependencies are available, see reference build 
> instructions:
> git clone https://github.com/ledger/ledger.git
> cd ledger
> sed -i.backup -e 's/add_definitions(-std=c++11)/add_definitions(-std=c++11 
> -U__STRICT_ANSI__)/' CMakeLists.txt
> cmake -G "Unix Makefiles"
> ./acprep --python update
>
>
> # or alternatively in an existing ledger clone:
> ./acprep gitclean
> sed -i.backup -e 's/add_definitions(-std=c++11)/add_definitions(-std=c++11 
> -U__STRICT_ANSI__)/' CMakeLists.txt
> cmake -G "Unix Makefiles"
> ./acprep --python update
>
>
>
>

-- 

--- 
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.

Reply via email to