Move Dxc runtime tracing one level up so other project can use it without referencing dxilconv (#2948)
This commit is contained in:
Родитель
4aa4840103
Коммит
355c4fb6a3
|
@ -1,3 +1,7 @@
|
|||
set(DXC_PROJECTS_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(DXC_PROJECTS_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
if(WIN32 AND HLSL_BUILD_DXILCONV)
|
||||
add_subdirectory(include/Tracing)
|
||||
add_subdirectory(dxilconv)
|
||||
endif (WIN32 AND HLSL_BUILD_DXILCONV)
|
||||
|
|
|
@ -3,6 +3,8 @@ set(DXILCONV_PROJECT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
|
|||
|
||||
include_directories(
|
||||
${LLVM_MAIN_INCLUDE_DIR}
|
||||
${DXC_PROJECTS_SOURCE_DIR}/include
|
||||
${DXC_PROJECTS_BINARY_DIR}/include
|
||||
${DXILCONV_PROJECT_SOURCE_DIR}/include
|
||||
${DXILCONV_PROJECT_BINARY_DIR}/include
|
||||
)
|
||||
|
@ -29,5 +31,4 @@ if(WIN32)
|
|||
add_subdirectory(lib)
|
||||
add_subdirectory(tools)
|
||||
add_subdirectory(unittests)
|
||||
add_subdirectory(include/Tracing)
|
||||
endif()
|
Загрузка…
Ссылка в новой задаче