* building ledger 3.1 under cygwin

# Used sources:
- [[https://github.com/ledger/ledger/wiki/Build-instructions-for-Cygwin][Build 
instructions for Cygwin]]
- [[https://groups.google.com/d/msg/ledger-cli/Iumqw02dTOs/HYBzW8tSyw4J][Jo 
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