From 3a2f72c01b6bf75814f79ec331c1278843973ee2 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 25 Nov 2008 09:39:55 +0000 Subject: [PATCH] [E.A.] Improvement to compile GEOM --- adm_local/cmake_files/FindCAS.cmake | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/adm_local/cmake_files/FindCAS.cmake b/adm_local/cmake_files/FindCAS.cmake index b1a3909d1..ae6e01854 100644 --- a/adm_local/cmake_files/FindCAS.cmake +++ b/adm_local/cmake_files/FindCAS.cmake @@ -31,18 +31,24 @@ FIND_LIBRARY(TKBRep TKBRep PATHS ${CASROOT_LIBDIR}) FIND_LIBRARY(TKGeomBase TKGeomBase PATHS ${CASROOT_LIBDIR}) FIND_LIBRARY(TKOpenGl TKOpenGl PATHS ${CASROOT_LIBDIR}) FIND_LIBRARY(TKG3d TKG3d PATHS ${CASROOT_LIBDIR}) +FIND_LIBRARY(TKBool TKBool PATHS ${CASROOT_LIBDIR}) +FIND_LIBRARY(TKIGES TKIGES PATHS ${CASROOT_LIBDIR}) +FIND_LIBRARY(TKSTEP TKSTEP PATHS ${CASROOT_LIBDIR}) +FIND_LIBRARY(TKSTL TKSTL PATHS ${CASROOT_LIBDIR}) +FIND_LIBRARY(TKCAF TKCAF PATHS ${CASROOT_LIBDIR}) SET(CAS_KERNEL ${TKernel} ${TKMath}) SET(CAS_OCAF ${TKernel} ${TKCDF} ${TKLCAF}) SET(CAS_VIEWER ${TKService} ${TKV3d} ${TKG3d} ${TKGeomBase} ${TKBRep}) +SET(CAS_OCAFVIS ${TKCAF}) SET(TKV3d ${TKernel} ${TKMath} ${TKV3d}) + +# ${StdPlugin} ${StdLPlugin} ${TKPLCAF} ${TKPShape} ${TKStdLSchema} ${TKShapeSchema}) # From check_cas .m4 #SET(CAS_VIEWER ${TKService}) # From check_cas .m4 #SET(CAS_VIEWER ${CAS_VIEWER} ${CAS_TKV3d} ${CAS_TKBRep}) # Add-ons E.A. - #SET(CAS_CXXFLAGS) - #FIND_LIBRARY(BinLPlugin BinLPlugin PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(BinPlugin BinPlugin PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(BinXCAFPlugin BinXCAFPlugin PATHS ${CASROOT_LIBDIR}) @@ -55,9 +61,7 @@ SET(TKV3d ${TKernel} ${TKMath} ${TKV3d}) #FIND_LIBRARY(TKBinL TKBinL PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKBin TKBin PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKBinXCAF TKBinXCAF PATHS ${CASROOT_LIBDIR}) -#FIND_LIBRARY(TKBool TKBool PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKBO TKBO PATHS ${CASROOT_LIBDIR}) -#FIND_LIBRARY(TKCAF TKCAF PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKCDLFront TKCDLFront PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKCPPClient TKCPPClient PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKCPPExt TKCPPExt PATHS ${CASROOT_LIBDIR}) @@ -72,7 +76,6 @@ SET(TKV3d ${TKernel} ${TKMath} ${TKV3d}) #FIND_LIBRARY(TKGeomAlgo TKGeomAlgo PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKHLR TKHLR PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKIDLFront TKIDLFront PATHS ${CASROOT_LIBDIR}) -#FIND_LIBRARY(TKIGES TKIGES PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKMesh TKMesh PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKMeshVS TKMeshVS PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKOffset TKOffset PATHS ${CASROOT_LIBDIR}) @@ -87,8 +90,6 @@ SET(TKV3d ${TKernel} ${TKMath} ${TKV3d}) #FIND_LIBRARY(TKSTEP209 TKSTEP209 PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKSTEPAttr TKSTEPAttr PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKSTEPBase TKSTEPBase PATHS ${CASROOT_LIBDIR}) -#FIND_LIBRARY(TKSTEP TKSTEP PATHS ${CASROOT_LIBDIR}) -#FIND_LIBRARY(TKSTL TKSTL PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKTCPPExt TKTCPPExt PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKTopAlgo TKTopAlgo PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(TKTopTest TKTopTest PATHS ${CASROOT_LIBDIR}) @@ -119,31 +120,18 @@ SET(TKV3d ${TKernel} ${TKMath} ${TKV3d}) #FIND_LIBRARY(XmlLPlugin XmlLPlugin PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(XmlPlugin XmlPlugin PATHS ${CASROOT_LIBDIR}) #FIND_LIBRARY(XmlXCAFPlugin XmlXCAFPlugin PATHS ${CASROOT_LIBDIR}) - - #SET(CAS_MATH ${TKMath}) # From check_cas .m4 #SET(CAS_MATH ${CAS_MATH} ${CAS_KERNEL}) # Add-ons E.A. - #SET(CAS_STDPLUGIN ${StdPlugin}) # From check_cas .m4 - #SET(CAS_TKBRep ${TKG2d} ${TKG3d} ${TKGeomBase} ${TKBRep}) # From check_cas .m4 - #SET(CAS_OCAF ${PTKernel} ${TKernel} ${TKCDF} ${TKLCAF} ${TKPCAF} ${TKStdSchema}) # From check_cas .m4 - #SET(CAS_OCAFVIS ${TKCAF} ${StdPlugin} ${StdLPlugin} ${TKPLCAF} ${TKPShape} ${TKStdLSchema} ${TKShapeSchema}) # From check_cas .m4 #SET(CAS_OCAFVIS ${CAS_OCAFVIS} ${CAS_TKBRep} ${CAS_MATH}) # Add-ons E.A. - #SET(CAS_TKV3d ${TKV3d}) # From check_cas .m4 #SET(CAS_TKV3d ${CAS_TKV3d} ${CAS_KERNEL} ${CAS_MATH}) # Add-ons E.A. - - #SET(CAS_TKTopAlgo ${CAS_TKBRep} ${TKGeomAlgo} ${TKTopAlgo}) # From check_cas .m4 - #SET(CAS_TKPrim ${CAS_TKTopAlgo} ${TKPrim}) # From check_cas .m4 - #SET(CAS_MODELER ${CAS_TKPrim} ${TKBO} ${TKBool} ${TKHLR} ${TKFillet} ${TKOffset} ${TKFeat}) # From check_cas .m4 #SET(CAS_MODELER ${CAS_MODELER} ${CAS_MATH}) # Add-ons E.A. - #SET(CAS_DATAEXCHANGE ${CAS_LDPATH} ${TKIGES} ${TKSTEP}) # From check_cas .m4 - #SET(CAS_LDFLAGS ${CAS_KERNEL} ${CAS_MATH} ${CAS_OCAF} ${CAS_OCAFVIS} ${CAS_VIEWER} ${CAS_MODELER} ${CAS_DATAEXCHANGE}) -- 2.39.2