Navigation Menu

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

support cygwin and ensure shared libs are on more verbosely #2

Closed
wants to merge 6 commits into from

Conversation

pkarasev3
Copy link

let me know if this change works in principle ... (modulo the url path I presume)

 It enables using cygwin to build, when dos shell commands like "IF" are not valid.

Copy link
Owner

@bilke bilke left a comment

Choose a reason for hiding this comment

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

Looks good, tests are green. Please just modify accordingly to my comments

conanfile.py Outdated
@@ -10,10 +10,10 @@ class VTKConan(ConanFile):
SHORT_VERSION = short_version
generators = "cmake"
settings = "os", "compiler", "build_type", "arch"
options = {"shared": [True, False], "qt": [True, False]}
default_options = "shared=False", "qt=False"
options = {"shared": [True, False], "qt": [True, False],"cygwin_msvc": [True, False],"linux_use_sudo": [True, False]}
Copy link
Owner

Choose a reason for hiding this comment

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

Please separate new options by a whitespace, or better by splitting this long line into multiple lines.

conanfile.py Outdated
exports = ["CMakeLists.txt", "FindVTK.cmake"]
url="http://github.com/bilke/conan-vtk"
url="http://github.com/pkarasev3/conan-vtk"
Copy link
Owner

Choose a reason for hiding this comment

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

Please remove that change.

CMAKE_OPTIONALS = ""
BUILD_OPTIONALS = ""
if self.options.shared == False:
CMAKE_OPTIONALS += " -DBUILD_SHARED_LIBS=OFF"
if self.options.shared == True:
Copy link
Owner

Choose a reason for hiding this comment

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

Just use an else:.

@bilke bilke force-pushed the release/7.1.0 branch 4 times, most recently from 2dc4e0b to b5f9a13 Compare December 18, 2017 20:23
@bilke bilke force-pushed the release/7.1.0 branch 2 times, most recently from 8922839 to b322439 Compare January 4, 2018 08:22
@bilke bilke closed this Oct 14, 2020
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.

None yet

2 participants