FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix cmake arguments for external projects for msvc by 9prady9 · Pull Request #3088 · arrayfire/arrayfire · GitHub

Repository navigation

Fix cmake arguments for external projects for msvc - #3088

Merged
9prady9 merged 2 commits into
arrayfire:masterfrom
9prady9:win_ocl_ext_project_fixes
Feb 12, 2021
Merged

9prady9 merged 2 commits into
arrayfire:masterfrom
9prady9:win_ocl_ext_project_fixes

Conversation

9prady9 commented Feb 11, 2021

Copy link
Copy Markdown
Member

Without the additional toolset argument being forwarded to msvc
toolchain, cmake/msvc is free to choose a toolset as per their
respective logic. This causes build issues.

Also fixed some conditions that are based on CMakeBuildType variable -
not recommended to use checks based on that variable and often resulted
in issues when used with untested multi-config generators.

Changes to Users

None unless it is an user building ArrayFire on Windows platform.

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • [ ] Functions added to unified API
  • [ ] Functions documented

Without the additional toolset argument being forwarded to msvc
toolchain, cmake/msvc is free to choose a toolset as per their
respective logic. This causes build issues.

Also fixed some conditions that are based on CMakeBuildType variable -
not recommended to use checks based on that variable and often resulted
in issues when used with untested multi-config generators.
9prady9 added this to the 3.8.1 milestone Feb 11, 2021
Comment thread CMakeLists.txt Outdated
9prady9 merged commit 422f1bd into arrayfire:master Feb 12, 2021
9prady9 deleted the win_ocl_ext_project_fixes branch February 12, 2021 02:50
9prady9 added a commit to 9prady9/arrayfire that referenced this pull request Aug 2, 2021
* Fix cmake arguments for external projects for msvc

Without the additional toolset argument being forwarded to msvc
toolchain, cmake/msvc is free to choose a toolset as per their
respective logic. This causes build issues.

Also fixed some conditions that are based on CMakeBuildType variable -
not recommended to use checks based on that variable and often resulted
in issues when used with untested multi-config generators.

(cherry picked from commit 422f1bd)
syurkevi pushed a commit that referenced this pull request Dec 28, 2021
* Fix cmake arguments for external projects for msvc

Without the additional toolset argument being forwarded to msvc
toolchain, cmake/msvc is free to choose a toolset as per their
respective logic. This causes build issues.

Also fixed some conditions that are based on CMakeBuildType variable -
not recommended to use checks based on that variable and often resulted
in issues when used with untested multi-config generators.

(cherry picked from commit 422f1bd)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL