File tree 1 file changed +4
-1
lines changed
src/coreclr/debug/runtimeinfo
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)
41
41
42
42
add_library (cdac_data_descriptor STATIC data-descriptor.c)
43
43
44
+
44
45
set (GENERATED_CDAC_DESCRIPTOR_DIR "${CMAKE_CURRENT_BINARY_DIR} /cdac" )
45
46
46
47
if (CLR_CLR_HOST_WIN32)
47
48
set (DOTNET_CMD "${CLR_REPO_ROOT_DIR} /dotnet.cmd" )
49
+ set (CONTRACT_DESCRIPTOR_OUTPUT "${CMAKE_CURRENT_BINARY_DIR} \\ cdac\\ contract-descriptor.c" )
48
50
else ()
49
51
set (DOTNET_CMD "${CLR_REPO_ROOT_DIR} /dotnet.sh" )
52
+ set (CONTRACT_DESCRIPTOR_OUTPUT "${CMAKE_CURRENT_BINARY_DIR} /cdac/contract-descritor.c" )
50
53
endif ()
51
54
set (CDAC_BUILD_TOOL_CSPROJ "${CLR_DIR} /tools/cdac-build-tool/cdac-build-tool.csproj" )
52
55
53
56
add_custom_command (
54
57
OUTPUT "${GENERATED_CDAC_DESCRIPTOR_DIR} /contract-descriptor.c"
55
58
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>
57
60
DEPENDS cdac_data_descriptor $<TARGET_OBJECTS:cdac_data_descriptor>
58
61
)
59
62
You can’t perform that action at this time.
0 commit comments