@@ -78,33 +78,12 @@ file(GLOB XR_RENDERPC_R4_R2_SOURCES
7878 "${CMAKE_SOURCE_DIR} /src/Layers/xrRender_R2/*.cpp"
7979)
8080
81- set (XR_IMGUI_DIR "${CMAKE_SOURCE_DIR} /Externals/imgui" )
82-
83- set (XR_IMGUI_SOURCES
84- "${XR_IMGUI_DIR} /imgui.cpp"
85- "${XR_IMGUI_DIR} /imgui_draw.cpp"
86- "${XR_IMGUI_DIR} /imgui_tables.cpp"
87- "${XR_IMGUI_DIR} /imgui_widgets.cpp"
88- )
89-
90- if (MSVC )
91- list (APPEND XR_IMGUI_SOURCES
92- "${XR_IMGUI_DIR} /backends/imgui_impl_dx11.cpp"
93- "${XR_IMGUI_DIR} /backends/imgui_impl_win32.cpp"
94- )
95- endif ()
96-
97- set_source_files_properties (${XR_IMGUI_SOURCES} PROPERTIES
98- SKIP_PRECOMPILE_HEADERS ON
99- )
100-
10181target_sources (xrRenderPC_R4 PRIVATE
10282 ${XR_RENDERPC_R4_SHARED_SOURCES}
10383 ${XR_RENDERPC_R4_BLENDER_SOURCES}
10484 ${XR_RENDERPC_R4_UTILITY_SOURCES}
10585 ${XR_RENDERPC_R4_DX11_SOURCES}
10686 ${XR_RENDERPC_R4_R2_SOURCES}
107- ${XR_IMGUI_SOURCES}
10887)
10988
11089target_include_directories (xrRenderPC_R4
@@ -114,7 +93,6 @@ target_include_directories(xrRenderPC_R4
11493 "${CMAKE_SOURCE_DIR} /src/Layers/xrRender_R2"
11594 "${CMAKE_SOURCE_DIR} /src/Layers/xrRender"
11695 "${CMAKE_SOURCE_DIR} /src/Layers/xrRenderDX11"
117- "${XR_IMGUI_DIR} "
11896 "${CMAKE_SOURCE_DIR} /sdk/include"
11997 "${CMAKE_SOURCE_DIR} /sdk/include/DirectXMesh"
12098 "${CMAKE_SOURCE_DIR} /sdk/include/nvapi"
0 commit comments