Add new variable for finding OCC libraries during compilation.

This commit is contained in:
mkr 2005-11-16 12:00:03 +00:00
parent 4fe88e90a7
commit 9dbbb779fa
3 changed files with 4 additions and 3 deletions

View File

@ -108,6 +108,7 @@ OCC_VIEWER_LIBS=@CAS_VIEWER@
OCC_MODELER_LIBS=@CAS_MODELER@
OCC_DATAEXCHANGE_LIBS=@CAS_DATAEXCHANGE@
OCC_LIBS=@CAS_LDFLAGS@
OCC_LDPATH=@CAS_LDPATH@
# MPICH

View File

@ -90,7 +90,7 @@ CXXFLAGS+= $(OCC_CXXFLAGS) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lRegistry -lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
-L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls \
-L${CASROOT}/lin/lib -lTKCDF -lTKBO
$(OCC_LDPATH) -lTKCDF -lTKBO
LDFLAGSFORBIN += -lSMDS -lSMESHDS \
@ -100,6 +100,6 @@ LDFLAGSFORBIN += -lSMDS -lSMESHDS \
-lOpUtil -lSALOMELocalTrace -lSALOMEBasics -lSalomeNotification -lCASCatch \
-lSalomeHDFPersist -lSalomeLifeCycleCORBA -lTOOLSDS -lSalomeGenericObj \
-L${GEOM_ROOT_DIR}/lib/salome -lGEOMClient -lSMESHimpl -lSMESHControls -lNMTTools -lNMTDS \
-L${CASROOT}/lin/lib -lTKCDF -lTKBO -lTKMath
$(OCC_LDPATH) -lTKCDF -lTKBO -lTKMath
@CONCLUDE@

View File

@ -87,6 +87,6 @@ BIN_SRC =
CPPFLAGS+= $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
CXXFLAGS+= $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GEOM_ROOT_DIR}/include/salome
LDFLAGS+= -lSMESHimpl -lMEFISTO2D -L${CASROOT}/Linux/lib -lTKAdvTools -L${KERNEL_ROOT_DIR}/lib/salome -L${GEOM_ROOT_DIR}/lib/salome
LDFLAGS+= -lSMESHimpl -lMEFISTO2D $(OCC_LDPATH) -lTKAdvTools -L${KERNEL_ROOT_DIR}/lib/salome -L${GEOM_ROOT_DIR}/lib/salome
@CONCLUDE@