-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to CMake + Introduction of CPack based packages #346
Improvements to CMake + Introduction of CPack based packages #346
Conversation
…anges in the root CMakeLists.txt to accomodate it + Introduction of CPack
…ng is an issue). Also symlinks seem to disappear. This will require a change in cmake config script since it requires exact .so file to be referenced instead of lib3mf.so (A problem to worry at a latter time)
…amic or CppDynamic variants
…s includes also for Windows and Mac OS
…hanged yet. It can be done after confirmation.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/cmake-improvements #346 +/- ##
===========================================================
Coverage 69.20% 69.20%
===========================================================
Files 271 271
Lines 28691 28691
===========================================================
Hits 19855 19855
Misses 8836 8836 ☔ View full report in Codecov by Sentry. |
This all looks great! Tested on windows the CppNew and CPPDynamic new. We will need to clearly define what the role of the old sdk will be in the future, and how the examples are made available. |
@martinweismann In CppNew, do you expect the library to be copied over to the same location as the target binary ? |
I think so. That would make the example run out of the box. |
I will make the necessary changes. |
@martinweismann The necessary CMake changes to fix VCPKG installation are included in the latest commits. For example, VCPKG requires the |
@@ -1,6 +1,9 @@ | |||
on: [push, pull_request] | |||
env: | |||
LIB3MF_VERSION: "2.3.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the version to 2.3.1
uses: actions/upload-artifact@v2 | ||
with: | ||
name: lib3mf.so | ||
path: dist/lib3mf.so.2 | ||
path: dist/lib3mf.so.2 | ||
- name: Extract File Name (CPacked Archive) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this Archive still necessary ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Vijay,
I have few doubts in this PR regarding lib3mfconfig.cmake, does it help/break building lib3mf from source? Are the expamples in this PR, necessary?
f96fc53
into
3MFConsortium:feature/cmake-improvements
Base branch : develop (Right after the 2.3.0-alpha release)
This PR introduces significant enhancements to the CMake infrastructure of lib3mf, detailed as follows: