Skip to content

Commit

Permalink
Remove RHI examples changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioFerreras committed Jul 10, 2023
1 parent 4e6a36b commit a89e235
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 129 deletions.
4 changes: 2 additions & 2 deletions cpp_examples/rhi_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ macro(make_sample executable_name src_file)
add_executable(${executable_name})
set_property(TARGET ${executable_name} PROPERTY CXX_STANDARD 17)
set_property(TARGET ${executable_name} PROPERTY C_STANDARD 17)
target_sources(${executable_name} PRIVATE ${src_file} "common.h" "common_metal.mm")
target_sources(${executable_name} PRIVATE ${src_file} "common.h")
target_include_directories(${executable_name}
PRIVATE
${PROJECT_SOURCE_DIR}
Expand All @@ -24,7 +24,7 @@ target_include_directories(${executable_name} SYSTEM
PUBLIC
${PROJECT_SOURCE_DIR}/external/VulkanMemoryAllocator/include
)
target_link_libraries(${executable_name} taichi_core glfw "-framework QuartzCore")
target_link_libraries(${executable_name} taichi_core glfw)
endmacro()

make_sample(sample_1_window sample_1_window.cpp)
Expand Down
55 changes: 0 additions & 55 deletions cpp_examples/rhi_examples/common_metal.h

This file was deleted.

71 changes: 0 additions & 71 deletions cpp_examples/rhi_examples/common_metal.mm

This file was deleted.

2 changes: 1 addition & 1 deletion cpp_examples/rhi_examples/sample_1_window.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "common_metal.h"
#include "common.h"

class SampleApp : public App {
public:
Expand Down

0 comments on commit a89e235

Please sign in to comment.