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

CMakeLists: fix dependency on Microsoft-ETW-ESE.man #14

Merged

Conversation

evgenykotkov
Copy link
Contributor

The CMakeLists.txt configuration in src\_etw specifies the non-existing
dependency when calling the message compiler for Microsoft-ETW-ESE.man.

This causes the following error during rebuild in my environment, most likely
due to an incorrect build order:

Generating ../../../../gen/_etw/Microsoft-ETW-ESE.h, ../../../../gen/_etw/Microsoft-ETW-ESE.rc
mc : error : 0x2 trying to open file <[...]/build/gen/_etw/Microsoft-ETW-ESE.man>.

This PR fixes it by making the command depend on Microsoft-ETW-ESE.man.

The CMakeLists.txt configuration in `src\_etw` specifies the non-existing
DEPENDS input when calling the message compiler for Microsoft-ETW-ESE.man.

This causes the following error during rebuild — most likely due to an
incorrect build order:

  Generating ../../../../gen/_etw/Microsoft-ETW-ESE.h, ../../../../gen/_etw/Microsoft-ETW-ESE.rc
  mc : error : 0x2 trying to open file <[...]/build/gen/_etw/Microsoft-ETW-ESE.man>.

Fix this by making the command depend on `Microsoft-ETW-ESE.man`.
@Agile86
Copy link

Agile86 commented Mar 29, 2021

Thanks, I had the same issue.

@2BitSalute 2BitSalute closed this Apr 2, 2021
@2BitSalute
Copy link
Collaborator

Thanks, I merged this internally, as well.

@2BitSalute 2BitSalute reopened this Apr 4, 2021
@2BitSalute 2BitSalute merged commit 104bfce into microsoft:main Apr 4, 2021
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

3 participants