This repository is a (shallow) fork of LEMON, the Library for Efficient Modeling and Optimization in Networks.
We are very happy users of LEMON, this repository just contains minor changes for C++20 compatibility and slightly improved CMake.
- Apply Kevin Tew's C++20 compat patch
- Some additional C++20 compat changes.
- Improve
CMakeLists.txt
:- Create a
lemon::lemon
ALIAS
target - Compile as position-independent code (
POSITION_INDEPENDENT_CODE
/-fPIC
) - Allow for interprocedural optimization (
-flto
)
- Create a
See README for the original LEMON readme.
Lemon (and the changes in this fork) are available under the terms of the [LICENSE](Boost Software License, Version 1.0)