Limbo
3.5.4
Toggle main menu visibility
Loading...
Searching...
No Matches
limbo
makeutils
FindLPSolve.mk
Go to the documentation of this file.
1
## @file FindLPSolve.mk
2
## @brief find lpsolve library given LPSOLVE_DIR, set LPSOLVE_LINK_LIB
3
##
4
## It checks the version of lpsolve and generates linking flag.
5
## Use following command in the Makefile to view the results
6
##
7
## $(info LPSolve: LPSOLVE_VERSION = $(LPSOLVE_VERSION), LPSOLVE_LINK_LIB = $(LPSOLVE_LINK_LIB))
8
##
9
## @author Yibo Lin
10
## @date Dec 2018 11:18:47 AM CST
11
##
12
## @param LPSOLVE_VERSION version of lpsolve
13
## @param LPSOLVE_LINK_LIB link to lpsolve
14
15
## @cond
16
17
LPSOLVE_VERSION = $(subst .so,,$(subst liblpsolve,,$(notdir $(wildcard $(LPSOLVE_DIR)/liblpsolve*.so))))
18
LPSOLVE_LINK_LIB = -Wl,-rpath,$(LPSOLVE_DIR) -L $(LPSOLVE_DIR) -llpsolve$(LPSOLVE_VERSION)
19
20
21
## @endcond
Generated on
for Limbo by
1.17.0