Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/coreclr/dlls/mscoree/coreclr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ if(CLR_CMAKE_TARGET_WIN32)
add_custom_target(inject_debug_resources_singlefilehost ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/inject_debug_resources_singlefilehost.timestamp)
add_dependencies(runtime inject_debug_resources_singlefilehost)
endif()
else()
add_custom_target(inject_debug_resources_coreclr DEPENDS coreclr)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The other thing that we could do is make runtimeinfo depend on inject_debug_resources_coreclr on windows, given that conceptually there's no external resources needed for debugging coreclr. Do you have a preference between the dependencies vs this phony target?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'd rather do the phony target so we don't need to add a different dependency that has the same effect on non-Windows platforms.

add_custom_target(inject_debug_resources_singlefilehost DEPENDS singlefilehost)
endif(CLR_CMAKE_TARGET_WIN32)

# add the install targets
Expand Down