Update comments.
This commit is contained in:
parent
2c89e2c97b
commit
050553725d
|
@ -3,7 +3,7 @@
|
||||||
# Copyright 2013-2015 by
|
# Copyright 2013-2015 by
|
||||||
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
||||||
#
|
#
|
||||||
# Written by John Cary <cary@txcorp.com>
|
# Written originally by John Cary <cary@txcorp.com>
|
||||||
#
|
#
|
||||||
# This file is part of the FreeType project, and may only be used, modified,
|
# This file is part of the FreeType project, and may only be used, modified,
|
||||||
# and distributed under the terms of the FreeType project license,
|
# and distributed under the terms of the FreeType project license,
|
||||||
|
@ -11,6 +11,7 @@
|
||||||
# indicate that you have read the license and understand and accept it
|
# indicate that you have read the license and understand and accept it
|
||||||
# fully.
|
# fully.
|
||||||
#
|
#
|
||||||
|
#
|
||||||
# As a preliminary, create a compilation directory and change into it, for
|
# As a preliminary, create a compilation directory and change into it, for
|
||||||
# example
|
# example
|
||||||
#
|
#
|
||||||
|
@ -46,13 +47,16 @@
|
||||||
#
|
#
|
||||||
# Some notes.
|
# Some notes.
|
||||||
#
|
#
|
||||||
# . `cmake' will overwrite some files in the source tree in case you don't
|
# . `cmake' creates configuration files in
|
||||||
# call it from a build directory as described above.
|
#
|
||||||
|
# <build-directory>/include/freetype/config
|
||||||
|
#
|
||||||
|
# which should be further modified if necessary.
|
||||||
#
|
#
|
||||||
# . You can use `cmake' directly on a freshly cloned FreeType git
|
# . You can use `cmake' directly on a freshly cloned FreeType git
|
||||||
# repository.
|
# repository.
|
||||||
#
|
#
|
||||||
# . `CMakeLists.txt' is provided as-is since it is not used by the
|
# . `CMakeLists.txt' is provided as-is since it is normally not used by the
|
||||||
# developer team.
|
# developer team.
|
||||||
|
|
||||||
|
|
||||||
|
@ -223,6 +227,7 @@ file(GLOB PUBLIC_HEADERS "include/ft2build.h" "include/freetype/*.h")
|
||||||
file(GLOB PUBLIC_CONFIG_HEADERS "include/freetype/config/*.h")
|
file(GLOB PUBLIC_CONFIG_HEADERS "include/freetype/config/*.h")
|
||||||
file(GLOB PRIVATE_HEADERS "include/freetype/internal/*.h")
|
file(GLOB PRIVATE_HEADERS "include/freetype/internal/*.h")
|
||||||
|
|
||||||
|
|
||||||
set(BASE_SRCS
|
set(BASE_SRCS
|
||||||
src/autofit/autofit.c
|
src/autofit/autofit.c
|
||||||
src/base/ftbase.c
|
src/base/ftbase.c
|
||||||
|
@ -283,6 +288,7 @@ if (BUILD_FRAMEWORK)
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
add_library(freetype
|
add_library(freetype
|
||||||
${PUBLIC_HEADERS}
|
${PUBLIC_HEADERS}
|
||||||
${PUBLIC_CONFIG_HEADERS}
|
${PUBLIC_CONFIG_HEADERS}
|
||||||
|
@ -290,6 +296,7 @@ add_library(freetype
|
||||||
${BASE_SRCS}
|
${BASE_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
if (BUILD_FRAMEWORK)
|
if (BUILD_FRAMEWORK)
|
||||||
set_property(SOURCE ${PUBLIC_CONFIG_HEADERS}
|
set_property(SOURCE ${PUBLIC_CONFIG_HEADERS}
|
||||||
PROPERTY MACOSX_PACKAGE_LOCATION Headers/config
|
PROPERTY MACOSX_PACKAGE_LOCATION Headers/config
|
||||||
|
@ -345,6 +352,7 @@ install(TARGETS freetype
|
||||||
FRAMEWORK DESTINATION Library/Frameworks
|
FRAMEWORK DESTINATION Library/Frameworks
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# Packaging
|
# Packaging
|
||||||
# CPack version numbers for release tarball name.
|
# CPack version numbers for release tarball name.
|
||||||
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
set(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
|
||||||
|
@ -365,7 +373,9 @@ set(CPACK_SOURCE_IGNORE_FILES
|
||||||
set(CPACK_GENERATOR TGZ)
|
set(CPACK_GENERATOR TGZ)
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
||||||
|
|
||||||
# add make dist target
|
# add make dist target
|
||||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||||
|
|
||||||
|
|
||||||
# eof
|
# eof
|
||||||
|
|
Loading…
Reference in New Issue