Giter VIP home page Giter VIP logo

Comments (9)

tpaviot avatar tpaviot commented on July 4, 2024

This is a good idea. This will result in smaller interface files, and at some point make the *_headers.i useless. The PCH argument is convincing as well.

from pythonocc-generator.

rainman110 avatar rainman110 commented on July 4, 2024

@tpaviot If you like, I'll work on it and then make a PR.

from pythonocc-generator.

rainman110 avatar rainman110 commented on July 4, 2024

@tpaviot Here's a first implementation. Everything compiles. Obviously, another include_directory has to be put into the CMakeLists.txt to make everything compile.

rainman110@1fe0111

from pythonocc-generator.

tpaviot avatar tpaviot commented on July 4, 2024

@rainman110 I'm not sure gl2ps is still necessary. I noticed the all Graphic3D_EF_PDF or Graphic_3d_EF_PS have been removed, I think gl2ps support is dropped in 7.4 see https://dev.opencascade.org/index.php?q=node/1209

from pythonocc-generator.

tpaviot avatar tpaviot commented on July 4, 2024

grep 'gl2ps' -r . * does not give any result, whether it is in /src or /include folders.

from pythonocc-generator.

rainman110 avatar rainman110 commented on July 4, 2024

Good catch. I'll remove it.

from pythonocc-generator.

tpaviot avatar tpaviot commented on July 4, 2024

Code was updated on the pythonocc-core side see tpaviot/pythonocc-core@4ccfc68 and tpaviot/pythonocc-core@ada5ebc

from pythonocc-generator.

rainman110 avatar rainman110 commented on July 4, 2024

Great 😄

from pythonocc-generator.

tpaviot avatar tpaviot commented on July 4, 2024

You were right @rainman110 , this is definitely a good solution. There's one single interface file per occ package. Now I'll try to get precompiled header work, using the cotire cmake extension or the new cmae UNITY_BUILD feature (https://cmake.org/cmake/help/latest/prop_tgt/UNITY_BUILD.html#prop_tgt:UNITY_BUILD)

from pythonocc-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.