From b80a70f176afe65e97aae25e5320621757430db8 Mon Sep 17 00:00:00 2001 From: DH Date: Tue, 1 Oct 2024 22:03:29 +0300 Subject: [PATCH] rpcsx-gpu -> rpcsx-gpu-legacy --- CMakeLists.txt | 2 +- rpcsx-gpu-legacy/CMakeLists.txt | 12 ++++++++++++ {rpcsx-gpu => rpcsx-gpu-legacy}/main.cpp | 0 rpcsx-gpu/CMakeLists.txt | 12 ------------ 4 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 rpcsx-gpu-legacy/CMakeLists.txt rename {rpcsx-gpu => rpcsx-gpu-legacy}/main.cpp (100%) delete mode 100644 rpcsx-gpu/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 1553ffa9..f033ecf7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ add_subdirectory(tools) add_subdirectory(orbis-kernel) add_subdirectory(rpcsx-os) -add_subdirectory(rpcsx-gpu) +add_subdirectory(rpcsx-gpu-legacy) add_subdirectory(rpcsx-gpu2) add_subdirectory(hw/amdgpu) add_subdirectory(rx) diff --git a/rpcsx-gpu-legacy/CMakeLists.txt b/rpcsx-gpu-legacy/CMakeLists.txt new file mode 100644 index 00000000..8abce0fd --- /dev/null +++ b/rpcsx-gpu-legacy/CMakeLists.txt @@ -0,0 +1,12 @@ +find_package(Vulkan 1.3 REQUIRED) +find_package(glfw3 3.3 REQUIRED) + +add_executable(rpcsx-gpu-legacy + main.cpp +) + +target_include_directories(rpcsx-gpu-legacy PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) +target_link_libraries(rpcsx-gpu-legacy PUBLIC amdgpu::bridge amdgpu::device glfw Vulkan::Vulkan rx) +set_target_properties(rpcsx-gpu-legacy PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) +target_base_address(rpcsx-gpu-legacy 0x0000060000000000) +install(TARGETS rpcsx-gpu-legacy RUNTIME DESTINATION bin) diff --git a/rpcsx-gpu/main.cpp b/rpcsx-gpu-legacy/main.cpp similarity index 100% rename from rpcsx-gpu/main.cpp rename to rpcsx-gpu-legacy/main.cpp diff --git a/rpcsx-gpu/CMakeLists.txt b/rpcsx-gpu/CMakeLists.txt deleted file mode 100644 index 9fa81f26..00000000 --- a/rpcsx-gpu/CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ -find_package(Vulkan 1.3 REQUIRED) -find_package(glfw3 3.3 REQUIRED) - -add_executable(rpcsx-gpu - main.cpp -) - -target_include_directories(rpcsx-gpu PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) -target_link_libraries(rpcsx-gpu PUBLIC amdgpu::bridge amdgpu::device glfw Vulkan::Vulkan rx) -set_target_properties(rpcsx-gpu PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) -target_base_address(rpcsx-gpu 0x0000060000000000) -install(TARGETS rpcsx-gpu RUNTIME DESTINATION bin)