Skip to content
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

Cura 7924 sip cmake build #16

Merged
merged 9 commits into from
Feb 28, 2022
Merged

Cura 7924 sip cmake build #16

merged 9 commits into from
Feb 28, 2022

Conversation

j.spijker@ultimaker.com and others added 8 commits February 25, 2022 13:35
This is ported from libArcus

Modernized the find libnest2d allowing the usage of targets

Contributes to CURA-7924
Contributes to CURA-7924

Co-authored-by: rburema <r.burema@ultimaker.com>
Co-authored-by: rburema <r.burema@ultimaker.com>
NLopt isn't used by pynest2d. It's a dependency of libnest2d

Contributes to CURA-7924
Contributes to CURA-7924
Contributes to CURA-7924
Contributes to CURA-7924
message(STATUS "Setting Python version to ${Python_VERSION}. Set Python_VERSION if you want to compile against an other version.")
endif()
if(APPLE)
set(Python_FIND_FRAMEWORK NEVER)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
set(Python_FIND_FRAMEWORK NEVER)
set(Python_FIND_FRAMEWORK NEVER)

ALready mentioned this for the libSavitar changes. We seem to have a good reason to do this, but it could also well be that we're just copying it from other files since "that how we have been doing it in the past". A bit of documentation to clarify why we do this would be good.

super().__init__(project, **kwargs)

def build(self):
""" Only Generate the source files """
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also same remark as the libsavitar one. You can probably copy the documentation from there.

@nallath nallath merged commit 207c521 into master Feb 28, 2022
@nallath nallath deleted the CURA-7924_sip_cmake_build branch February 28, 2022 14:29
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