Browse Source

Remove stb_truetype

master
C. J. Howard 3 years ago
parent
commit
91ea45b3a2
6 changed files with 11 additions and 5090 deletions
  1. +3
    -0
      CMakeLists.txt
  2. +6
    -7
      README.md
  3. +1
    -1
      modules/antkeeper-source
  4. +1
    -3
      modules/stb/CMakeLists.txt
  5. +0
    -2
      modules/stb/stb_truetype.c
  6. +0
    -5077
      modules/stb/stb_truetype.h

+ 3
- 0
CMakeLists.txt View File

@ -213,6 +213,9 @@ ExternalProject_Add(freetype
CMAKE_ARGS
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
"-DCMAKE_INSTALL_PREFIX=${MODULE_INSTALL_DIR}"
"-DCMAKE_C_FLAGS='${CMAKE_C_FLAGS}'"
"-DCMAKE_C_FLAGS_DEBUG='${CMAKE_C_FLAGS_DEBUG}'"
"-DCMAKE_C_FLAGS_RELEASE='${CMAKE_C_FLAGS_RELEASE}'"
"-DBUILD_SHARED_LIBS=false"
BUILD_ALWAYS 0)

+ 6
- 7
README.md View File

@ -14,12 +14,12 @@ Download the Antkeeper superbuild repository and all of its Git submodules:
CMake is required to configure and build the application. Depending on the target platform, CMake should be invoked from one of the following directories:
| Directory | Platform |
| :----------------------------- | :--------------- |
| [build/linux32](build/linux32) | 32-bit Linux |
| [build/linux64](build/linux64) | 64-bit Linux |
| [build\win32](build/win32) | 32-bit Windows |
| [build\win64](build/win64) | 64-bit Windows |
| Directory | Platform |
| :----------------------------- | :------------- |
| [build/linux32](build/linux32) | 32-bit Linux |
| [build/linux64](build/linux64) | 64-bit Linux |
| [build\win32](build/win32) | 32-bit Windows |
| [build\win64](build/win64) | 64-bit Windows |
The following arguments may be passed to CMake during configuration:
@ -79,4 +79,3 @@ Antkeeper superbuild is licensed under the GNU General Public License, version 3
| Simple DirectMedia Layer | Sam Lantinga | Zlib | [SDL2/*](modules/SDL2/) |
| stb_image | Sean Barrett | MIT / Public Domain | [stb_image.h](modules/stb/stb_image.h) |
| stb_image_write | Sean Barrett | MIT / Public Domain | [stb_image_write.h](modules/stb/stb_image_write.h) |
| stb_truetype | Sean Barrett | MIT / Public Domain | [stb_truetype.h](modules/stb/stb_truetype.h) |

+ 1
- 1
modules/antkeeper-source

@ -1 +1 @@
Subproject commit c428d80e48f462c3fdc40588620ccb182ed7c429
Subproject commit d09de68cd836ef0e4d178a4273624b8dd7d013ce

+ 1
- 3
modules/stb/CMakeLists.txt View File

@ -4,8 +4,7 @@ project(stb)
add_library(stb
${PROJECT_SOURCE_DIR}/stb_image.c
${PROJECT_SOURCE_DIR}/stb_image_write.c
${PROJECT_SOURCE_DIR}/stb_truetype.c)
${PROJECT_SOURCE_DIR}/stb_image_write.c)
# Install library
install(TARGETS ${PROJECT_NAME}
@ -19,7 +18,6 @@ install(
FILES
${PROJECT_SOURCE_DIR}/stb_image.h
${PROJECT_SOURCE_DIR}/stb_image_write.h
${PROJECT_SOURCE_DIR}/stb_truetype.h
DESTINATION include/stb)
# Install CMake config file

+ 0
- 2
modules/stb/stb_truetype.c View File

@ -1,2 +0,0 @@
#define STB_TRUETYPE_IMPLEMENTATION
#include "stb_truetype.h"

+ 0
- 5077
modules/stb/stb_truetype.h
File diff suppressed because it is too large
View File


Loading…
Cancel
Save