-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[CMake][Windows] Fix Debug config build when using MSBuild #111765
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -190,9 +190,13 @@ macro(add_tablegen target project) | |
| endif() | ||
|
|
||
| # FIXME: Quick fix to reflect LLVM_TABLEGEN to llvm-min-tblgen | ||
| set(RAW_LLVM_TABLEGEN ${LLVM_TABLEGEN}) | ||
| if(NOT "${RAW_LLVM_TABLEGEN}" STREQUAL "") | ||
| get_filename_component(RAW_LLVM_TABLEGEN ${RAW_LLVM_TABLEGEN} NAME_WE) | ||
| endif() | ||
| if("${target}" STREQUAL "llvm-min-tblgen" | ||
| AND NOT "${LLVM_TABLEGEN}" STREQUAL "" | ||
| AND NOT "${LLVM_TABLEGEN}" STREQUAL "llvm-tblgen") | ||
| AND NOT "${RAW_LLVM_TABLEGEN}" STREQUAL "" | ||
| AND NOT "${RAW_LLVM_TABLEGEN}" STREQUAL "llvm-tblgen") | ||
| set(${project}_TABLEGEN_DEFAULT "${LLVM_TABLEGEN}") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't use an out-of-tree
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, |
||
| endif() | ||
|
|
||
|
|
||
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.
Would it match if
${LLVM_TABLEGEN}points toX:/out-of-tree/path/to/llvm-tblgen.exe? I don't think it'd be desirable.