3d-ice and superlu paths made configurable

This commit is contained in:
Éder F. Zulian
2015-11-20 16:28:18 +01:00
parent 8fcd2edc7f
commit 628731a5a3

View File

@@ -168,13 +168,25 @@ isEmpty(thermalsim) {
$$eval(thermalsim) {
message(Thermal Simulation Feature Enabled)
LIBS += -L/opt/3D-ICE/lib -lthreed-ice-2.2.5
LIBS += -L/opt/SuperLU_4.3/lib -lsuperlu_4.3
libthreed_ice_home = $$(LIBTHREED_ICE_HOME)
isEmpty(libthreed_ice_home) {
libthreed_ice_home = /opt/3D-ICE/
}
message(LIBTHREED_ICE_HOME path is $${libthreed_ice_home})
libsuperlu_home = $$(LIBSUPERLU_HOME)
isEmpty(libsuperlu_home) {
libsuperlu_home = /opt/SuperLU_4.3/
}
message(LIBSUPERLU_HOME path is $${libthreed_ice_home})
LIBS += -L$${libthreed_ice_home}/lib -lthreed-ice-2.2.5
LIBS += -L$${libsuperlu_home}/lib -lsuperlu_4.3
LIBS += -lblas
message(Libraries: $${LIBS})
INCLUDEPATH += /opt/3D-ICE/include
INCLUDEPATH += /opt/SuperLU_4.3/SRC
INCLUDEPATH += $${libthreed_ice_home}/include
INCLUDEPATH += $${libsuperlu_home}/SRC
INCLUDEPATH += $${systemc_home}/include
INCLUDEPATH += src/common/third_party/icewrapper
message(Include paths: $${INCLUDEPATH})