Skip to content

Commit a1f8f99

Browse files
committed
Remove image formats
1 parent bd7b539 commit a1f8f99

15 files changed

+0
-524
lines changed

src/imageformats/CMakeLists.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
option(LIBSCRATCHCPP_JPEG_SUPPORT "JPEG image support" ON)
2-
option(LIBSCRATCHCPP_PNG_SUPPORT "PNG image support" ON)
3-
41
add_subdirectory(stub)
5-
6-
if (LIBSCRATCHCPP_JPEG_SUPPORT)
7-
target_compile_definitions(scratchcpp PRIVATE JPEG_SUPPORT)
8-
add_subdirectory(jpeg)
9-
endif()
10-
11-
if (LIBSCRATCHCPP_PNG_SUPPORT)
12-
target_compile_definitions(scratchcpp PRIVATE PNG_SUPPORT)
13-
add_subdirectory(png)
14-
endif()
15-
16-
target_sources(scratchcpp
17-
PRIVATE
18-
defaultimageformats.cpp
19-
)

src/imageformats/defaultimageformats.cpp

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/imageformats/jpeg/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/imageformats/jpeg/jpegimageformat.cpp

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/imageformats/jpeg/jpegimageformat.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/imageformats/jpeg/jpegimageformatfactory.cpp

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/imageformats/jpeg/jpegimageformatfactory.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/imageformats/png/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/imageformats/png/pngimageformat.cpp

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/imageformats/png/pngimageformat.h

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)