File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/coreclr/debug/runtimeinfo Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -41,19 +41,22 @@ install_clr(TARGETS runtimeinfo DESTINATIONS lib COMPONENT runtime)
4141
4242add_library (cdac_data_descriptor STATIC data-descriptor.c)
4343
44+
4445set (GENERATED_CDAC_DESCRIPTOR_DIR "${CMAKE_CURRENT_BINARY_DIR} /cdac" )
4546
4647if (CLR_CLR_HOST_WIN32)
4748set (DOTNET_CMD "${CLR_REPO_ROOT_DIR} /dotnet.cmd" )
49+ set (CONTRACT_DESCRIPTOR_OUTPUT "${CMAKE_CURRENT_BINARY_DIR} \\ cdac\\ contract-descriptor.c" )
4850else ()
4951set (DOTNET_CMD "${CLR_REPO_ROOT_DIR} /dotnet.sh" )
52+ set (CONTRACT_DESCRIPTOR_OUTPUT "${CMAKE_CURRENT_BINARY_DIR} /cdac/contract-descriptor.c" )
5053endif ()
5154set (CDAC_BUILD_TOOL_CSPROJ "${CLR_DIR} /tools/cdac-build-tool/cdac-build-tool.csproj" )
5255
5356add_custom_command (
5457 OUTPUT "${GENERATED_CDAC_DESCRIPTOR_DIR} /contract-descriptor.c"
5558 VERBATIM
56- COMMAND "${DOTNET_CMD} " run --project "${CDAC_BUILD_TOOL_CSPROJ} " -c "$<CONFIG>" -- compose -o "${GENERATED_CDAC_DESCRIPTOR_DIR} /contract-descriptor.c " $<TARGET_OBJECTS:cdac_data_descriptor>
59+ COMMAND "${DOTNET_CMD} " run --project "${CDAC_BUILD_TOOL_CSPROJ} " -c "$<CONFIG>" -- compose -o "${CONTRACT_DESCRIPTOR_OUTPUT} " $<TARGET_OBJECTS:cdac_data_descriptor>
5760 DEPENDS cdac_data_descriptor $<TARGET_OBJECTS:cdac_data_descriptor>
5861)
5962
You can’t perform that action at this time.
0 commit comments