OCCT Git - occt.git/atom - CMakeLists.txt history Open CASCADE Technology repository http://git.dev.opencascade.org/gitweb/?p=occt.git static/git-favicon.png static/git-logo.png 2023-12-04T15:53:07Z gitweb 0033399: Configuration - Research into opportunities to increase performance 2023-11-30T10:29:11Z dpasukhi dpasukhi@opencascade.com dpasukhi dpasukhi@opencascade.com 2023-11-30T10:29:11Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=7036facf10e5591ea93bb53d7e97097f82613729
0033399: Configuration - Research into opportunities to increase performance

Implement CMake profiles to modify compiler and linker flags
  • [DB] CMakeLists.txt
0033425: Configuration - Implement JeMalloc memory manager 2023-11-22T11:49:24Z dpasukhi dpasukhi@opencascade.com dpasukhi dpasukhi@opencascade.com 2023-11-22T11:49:24Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=3aeea1e96edcafec9244e741eb48092bb05875c2
0033425: Configuration - Implement JeMalloc memory manager

Integrated CMake procedure to choose MMGR
Default MMGE is Native
  • [DB] CMakeLists.txt
0033378: Configuration - Moving ExpToCas into separate module 2023-05-15T07:11:45Z dpasukhi dpasukhi@opencascade.com vglukhik vglukhik@opencascade.com 2023-05-15T07:11:45Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=c36205a05ef6ebd33b14cb0def5f88d6d4c35d6c
0033378: Configuration - Moving ExpToCas into separate module

Moved ExpToCasExe and its DLL to new module - DETools
Created new module - DETools to keep tools to DE
Changed definition of main of ExpToCasExe to not const parameter
FlexLexer.h moved to general location into TKernel
  • [DB] CMakeLists.txt
0032921: Configuration, CMake - allow selecting C++ standard. 2022-05-04T09:57:51Z ddzama ddzama@opencascade.com smoskvin smoskvin@opencascade.com 2022-05-04T09:57:51Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=e92d322d4090d9611930bf7cabcc74fa981432b0
0032921: Configuration, CMake - allow selecting C++ standard.

Make C++ standard to be enable from cmake settings:

User will be able choosing C++ language standard by selecting cmake variable BUILD_CPP_STANDARD.
For correct working, CMAKE_CXX_STANDARD cmake built-in variable should be available.
To enable CMAKE_CXX_STANDARD, minimum CMAKE version has been updated to 3.1.

Available next standard items:
C++11
C++14
C++17
C++20
C++23

This issue consists from several steps to achive main goal:
1) Configuratiuon, CMake - allow selecting C++ standard.
2) Require minimum CMAKE version 3.1 (for enabling CMAKE_CXX_STANDARD).
3) More flexible CMAKE_CXX_COMPILER_ID identification (fixups previous commit!)
4) Add description of new CMAKE variable `BUILD_CPP_STANDARD` into documentation.
5) Update CMAKE requirements in documentation.
6) Set C++11 standard for several projects.
  • [DB] CMakeLists.txt
0031481: Data Exchange - provide parser of STEP EXPRESS schema for generation of... 2020-04-01T22:21:08Z abv abv@opencascade.com smoskvin smoskvin@opencascade.com 2020-04-01T22:21:08Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=05cfce4d8361f65f36dabf0d93269b50f1052ec0
0031481: Data Exchange - provide parser of STEP EXPRESS schema for generation of new STEP entities

Integration of ExpToCas tool ported to modern state of OCCT:
- new package Express and toolkit TKExpress for EXPRESS data structures and OCCT class generator
- executable ExpToCasExe including lax/yacc parsers, for parsing a Part 21 file and generating classes

Formatting added files from package Express following OCCT Coding Rules

Changes for correspondence generated files to OCCT Code Rules.

Add generation hxx files with declaration of arrays.
If field is a HArray1 method for get length of array and method for get element of array by its index are generated.

Changes for generation parser from Lex and YACC files.

Update description file ReadMe.md
  • [DB] CMakeLists.txt
0032856: Configuration, CMake - SONAME should include minor version in addition to... 2022-02-26T16:29:44Z kgv kgv@opencascade.com smoskvin smoskvin@opencascade.com 2022-02-26T16:29:44Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=75e2ba16951821ab6b435929272445d993845235
0032856: Configuration, CMake - SONAME should include minor version in addition to major to reflect ABI compatibility

Added option BUILD_SOVERSION_NUMBERS to manage SOVERSION length.
Default option value is set to 2 (major.minor) instead of previously used 1 (major),
excluding Android/Emscripten/Windows platforms that use 0 by default.
  • [DB] CMakeLists.txt
0032834: Configuration, CMake - DESTDIR ignored for OpenCASCADECompileDefinitionsAndF... 2022-02-26T18:52:21Z kgv kgv@opencascade.com kgv kgv@opencascade.com 2022-02-26T18:52:21Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=b9184c271493f25ae444304a62f35d9c236c6f12
0032834: Configuration, CMake - DESTDIR ignored for OpenCASCADECompileDefinitionsAndFlags-${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake

Replace redundant configure_file() with normal file copy for installing OpenCASCADECompileDefinitionsAndFlags- files.
  • [DB] CMakeLists.txt
0032484: Configuration, CMake fails to find EGL and GLES2 include directory on iOS... 2021-12-13T21:25:36Z kgv kgv@opencascade.com smoskvin smoskvin@opencascade.com 2021-12-13T21:25:36Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=2f195ab9159553b7373f779452c052545fc4d397
0032484: Configuration, CMake fails to find EGL and GLES2 include directory on iOS platform

Fixed configuration errors and compilation errors on iOS target due to unexpected EGL usage (non-existing on iOS).
  • [DB] CMakeLists.txt
0032709: Samples, MFC - remove samples Viewer2d, Viewer3d, Ocaf, Triangulation, Anima... 2021-12-02T15:54:45Z kgv kgv@opencascade.com smoskvin smoskvin@opencascade.com 2021-12-02T15:54:45Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=03eb96038e853c37a2229e59d0acb72f5dd0478d
0032709: Samples, MFC - remove samples Viewer2d, Viewer3d, Ocaf, Triangulation, Animation, Convert
  • [DB] CMakeLists.txt
0032545: Configuration, CMake - add BUILD_FORCE_RelWithDebInfo option for generating... 2021-08-27T22:42:10Z kgv kgv@opencascade.com smoskvin smoskvin@opencascade.com 2021-08-27T22:42:10Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=19691a22fda814e70ff3416dedce91f74b9dde56
0032545: Configuration, CMake - add BUILD_FORCE_RelWithDebInfo option for generating VS project files with Debug info in Release mode
  • [DB] CMakeLists.txt
0032525: Data Exchange, RWGltf_CafReader - support KHR_draco_mesh_compression 2021-08-10T17:35:14Z kgv kgv@opencascade.com bugmaster bugmaster@opencascade.com 2021-08-10T17:35:14Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=d9d75a845f4e3ee4f265ad16e7cf84b234d53475
0032525: Data Exchange, RWGltf_CafReader - support KHR_draco_mesh_compression

Added new optional dependency - Draco library.
RWGltf_GltfJsonParser now detects KHR_draco_mesh_compression extension,
marks accessor being compressed and redirects to compressed buffer view.
RWGltf_TriangulationReader now handles decoding of buffer view compressed using Draco.

env.bat template for genproj has been modified to allow specifying dedicated folders
with debug versions of libraries (CSF_OPT_LIB64D / CSF_OPT_BIN64D) within custom.bat.
Removed unused CSF_FREETYPE from TKOpenGl.
  • [DB] CMakeLists.txt
0032315: Configuration, CMake - fix building Draw Harness plugins as static libraries 2021-03-19T21:31:01Z kgv kgv@opencascade.com bugmaster bugmaster@opencascade.com 2021-03-19T21:31:01Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=a34bddcfd60b401f81f8f8bbd500ee644c48e6ee
0032315: Configuration, CMake - fix building Draw Harness plugins as static libraries

DPLUGIN() macros no more defines exported function PLUGINFACTORY when building static libraries.
DRAWEXE executable now pre-loads a set of plugins when building static libraries.
dversion - added WebAssembly info.
  • [DB] CMakeLists.txt
0032308: Configuration - make Xlib dependency optional 2021-04-16T13:12:16Z kgv kgv@opencascade.com bugmaster bugmaster@opencascade.com 2021-04-16T13:12:16Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=b69e576af0462088673c42a88eddea6d54f8786a
0032308: Configuration - make Xlib dependency optional

MACOSX_USE_GLX has been renamed to HAVE_XLIB and now configurable on Linux target.

Xw_Window.hxx now export class on non-Linux platforms.
OpenGl_Window now creates an off-screen EGL surface also in case of
window-less desktop setup (e.g. with disabled Xlib on Linux).

Draw_Window - code has been cleaned up.
Class definition has been unified across platforms when possible.
Unusued constructors have been removed.
Internal header files (MainWindow.h, init.h, etc.) have been renamed to .pxx
to avoid their unexpected distribution in "inc".
  • [DB] CMakeLists.txt
0032232: Draw Harness - make Tk dependency optional 2021-03-20T10:10:49Z kgv kgv@opencascade.com bugmaster bugmaster@opencascade.com 2021-03-20T10:10:49Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=87b68a0fd623a53c337e01075e3ce61ed43aa994
0032232: Draw Harness - make Tk dependency optional
  • [DB] CMakeLists.txt
0031087: Configuration - make FreeType dependency optional 2021-04-06T19:25:38Z kgv kgv@opencascade.com kgv kgv@opencascade.com 2021-04-06T19:25:38Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=5c9493b34878267b65879270951026982507917b
0031087: Configuration - make FreeType dependency optional

Added option USE_FREETYPE to CMake configuration, enabled by default.
Added handling of HAVE_FREETYPE macros.

genproj now overrides env.bat/env.sh on template change.
  • [DB] CMakeLists.txt
0032242: Configuration, CMake - USE_GLES2 option does not appear in interactive confi... 2021-03-23T21:26:16Z kgv kgv@opencascade.com bugmaster bugmaster@opencascade.com 2021-03-23T21:26:16Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=bbc5899a8c2cc87ae1305e3603b7677e52eea092
0032242: Configuration, CMake - USE_GLES2 option does not appear in interactive configurator

USE_D3D, USE_OPENGL and USE_GLES2 options declarations have been reordered.
  • [DB] CMakeLists.txt
0032206: Visualization, TKOpenGl - move out OpenGL ES support to dedicated library... 2021-03-17T18:03:04Z kgv kgv@opencascade.com bugmaster bugmaster@opencascade.com 2021-03-17T18:03:04Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=b8ef513c8f7c78c9a46d62126ff549121cf07caf
0032206: Visualization, TKOpenGl - move out OpenGL ES support to dedicated library TKOpenGles

Added TKOpenGles and TKOpenGlesTest toolkits built with HAVE_GLES2 macros.
Added CSF_OpenGlesLibs as alternative to CSF_OpenGlLibs.
  • [DB] CMakeLists.txt
0032203: Draw Harness, ViewerTest - drop dependency from OpenGL 2021-03-08T17:34:41Z kgv kgv@opencascade.com bugmaster bugmaster@opencascade.com 2021-03-08T17:34:41Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=b8db9379fedc0108a67dfa6c8236a971a9445bed
0032203: Draw Harness, ViewerTest - drop dependency from OpenGL

Added TKOpenGlTest and TKD3DHostTest Draw Harness plugins.
TKOpenGlTest is automatically loaded by ViewerTest::ViewerInit().

Commands vgldebug, vvbo, vcaps and vuserdraw have been moved to TKOpenGlTest.
New command vglshaders lists GLSL programs defined by OpenGl_GraphicDriver,
previously implemented by "vshaderprog -list".

Added new command vdriver for graphic driver selection.
Removed erroneous code from command vstereo.
  • [DB] CMakeLists.txt
0031939: Coding - correction of spelling errors in comments [part 2] 2020-11-30T09:55:48Z luz paz luzpaz@users.noreply.github.com kgv kgv@opencascade.com 2020-11-30T09:55:48Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=a110c4a3777de359b6bbe2b3baeb99fe34f2bdf7
0031939: Coding - correction of spelling errors in comments [part 2]

Fix various typos

Fixed via `codespell v2.0.dev`
  • [DB] CMakeLists.txt
0031790: Configuration, CMake - add optional OpenVR dependency 2020-10-16T12:45:43Z kgv kgv@opencascade.com kgv kgv@opencascade.com 2020-10-16T12:45:43Z http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=16ed73bec51ce5d66fea1dc5f8754b3d0f6ba8ce
0031790: Configuration, CMake - add optional OpenVR dependency
  • [DB] CMakeLists.txt