Skip to content

Commit

Permalink
Remove Stripper
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Sep 3, 2023
1 parent ca84713 commit 74dcc19
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 239 deletions.
11 changes: 3 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ cmake_minimum_required(VERSION 3.1)
project(spirv-reflect)

OPTION(SPIRV_REFLECT_EXECUTABLE "Build spirv-reflect executable" ON)
OPTION(SPIRV_REFLECT_EXAMPLES "Build stripper examples" ON)
OPTION(SPIRV_REFLECT_STRIPPER "Build stripper utility" OFF)
OPTION(SPIRV_REFLECT_EXAMPLES "Build spirv-reflect examples" ON)
OPTION(SPIRV_REFLECT_STATIC_LIB "Build a SPIRV-Reflect static library" OFF)
OPTION(SPIRV_REFLECT_BUILD_TESTS "Build the SPIRV-Reflect test suite" OFF)
OPTION(SPIRV_REFLECT_ENABLE_ASSERTS "Enable asserts for debugging" OFF)
Expand Down Expand Up @@ -40,7 +39,7 @@ if (SPIRV_REFLECT_EXECUTABLE)
if(WIN32)
target_compile_definitions(spirv-reflect PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()

install(TARGETS spirv-reflect RUNTIME DESTINATION bin)

# ==========================================================================
Expand Down Expand Up @@ -68,18 +67,14 @@ if (SPIRV_REFLECT_EXECUTABLE)
if(WIN32)
target_compile_definitions(spirv-reflect-pp PRIVATE _CRT_SECURE_NO_WARNINGS)
endif()

install(TARGETS spirv-reflect-pp RUNTIME DESTINATION bin)
endif()

if (SPIRV_REFLECT_EXAMPLES)
add_subdirectory(examples)
endif()

if (SPIRV_REFLECT_STRIPPER)
add_subdirectory(util/stripper)
endif()

if (SPIRV_REFLECT_BUILD_TESTS)
message("Tests are enabled!")
SET(BUILD_GMOCK OFF CACHE BOOL "Builds the googlemock subproject" FORCE)
Expand Down
10 changes: 0 additions & 10 deletions util/stripper/CMakeLists.txt

This file was deleted.

78 changes: 0 additions & 78 deletions util/stripper/io.h

This file was deleted.

66 changes: 0 additions & 66 deletions util/stripper/main.cpp

This file was deleted.

Binary file removed util/stripper/sample.spv
Binary file not shown.
64 changes: 0 additions & 64 deletions util/stripper/stripper.cpp

This file was deleted.

13 changes: 0 additions & 13 deletions util/stripper/stripper.h

This file was deleted.

0 comments on commit 74dcc19

Please sign in to comment.