Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jmairboeck
Copy link
Contributor

@jmairboeck jmairboeck commented Feb 24, 2021

  • make configuration settings cache variables to allow setting them externally, allowing to build against another version of OpenCascade easier
  • make the update_target_library hack conditional for Windows (other OSes usually have a package manager that takes care of installing the correct versions of libraries and doesn't need this)
  • make the adjustments for the optional OpenCascade dependencies conditional according to the actual used OpenCascase configuration
  • replace the ugly post-build hack to copy DLLs with an actual "installation" to "install" these (the DLLs conditionally for Windows as well and optional)

 * make configuration settings cache variables to allow setting them externally, allowing to build against another version of OpenCascade easier
 * make the update_target_library hack conditional for Windows (other OSes usually have a package manager that takes care of installing the correct versions of libraries and doesn't need this
 * make the adjustments for the optional OpenCascade dependencies conditional according to the actual used OpenCascase configuration
 * replace the ugly post-build hack to copy DLLs with an actual "installation" to "install" these (the DLLs conditionally for Windows as well and optional)
@jmairboeck
Copy link
Contributor Author

I have tested these changes now on Linux (openSUSE Leap 15.2). Building works now without changes when using system packages. This version uses OpenCascade 7.3.0. The path variables are not used and not needed in this case. Maybe we should not define them when not on WIN32?

jmairboeck and others added 3 commits February 28, 2021 16:43
 * the actual runtime dependencies have not changed
tested on Haiku (using OCE 0.18.3)
- note that it doesn't actually build on Haiku: it fails to link because the Haiku port of OCE misses some parts which would require X11 (or Windows)
@aleutgeb aleutgeb merged commit 7bd8844 into aleutgeb:main May 10, 2021
@jmairboeck jmairboeck deleted the cmake-build branch May 10, 2021 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants