summaryrefslogtreecommitdiff
path: root/adm/cmake/TKBRep
diff options
context:
space:
mode:
authorDenis Barbier <bouzim@gmail.com>2011-04-01 23:09:53 +0200
committerDenis Barbier <bouzim@gmail.com>2011-04-20 01:13:04 +0200
commitc3cc969387330fd20adedf1a5b2b8da932a3ed92 (patch)
tree685c871fc9fb5db50ec5efb69a5ff3c0b925460e /adm/cmake/TKBRep
parent1c2bffb837d6bc41e3a3a742e1c3f6e531aad38e (diff)
downloadoce-c3cc969387330fd20adedf1a5b2b8da932a3ed92.tar.gz
oce-c3cc969387330fd20adedf1a5b2b8da932a3ed92.zip
Modularize CMakeLists.txt and upgrade to 6.5.0
As API is instable, the soname is the full version number, not the major one. Make CMakeLists.txt more coherent with Autotools. Install libraries only needed by DRAWEXE into OpenCASCADE_INSTALL_PACKAGE_LIB_DIR. TKernel: Add -ldl when linking against static libraries. Add -lrt if this library is needed to provide clock_gettime.
Diffstat (limited to 'adm/cmake/TKBRep')
-rw-r--r--adm/cmake/TKBRep/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/adm/cmake/TKBRep/CMakeLists.txt b/adm/cmake/TKBRep/CMakeLists.txt
new file mode 100644
index 00000000..e113bbc0
--- /dev/null
+++ b/adm/cmake/TKBRep/CMakeLists.txt
@@ -0,0 +1,21 @@
+SET(TOOLKIT TKBRep)
+
+SET(TOOLKIT_MODULES
+ TopoDS
+ TopExp
+ TopTools
+ BRep
+ BRepLProp
+ BRepAdaptor
+ BRepTools
+)
+SET(TOOLKIT_DEPENDS
+ TKernel
+ TKGeomBase
+ TKMath
+ TKG2d
+ TKG3d
+)
+
+INCLUDE(../OccBuildKit.cmake)
+