[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] cmakelists-updates e605ce0 4/6: CMakeLists.txt: more info on
From: |
Nikolaus Waxweiler |
Subject: |
[freetype2] cmakelists-updates e605ce0 4/6: CMakeLists.txt: more info on build configs |
Date: |
Thu, 11 Jul 2019 18:22:28 -0400 (EDT) |
branch: cmakelists-updates
commit e605ce02d4afa5542f8307c4e8596c58e621cd97
Author: Nikolaus Waxweiler <address@hidden>
Commit: Nikolaus Waxweiler <address@hidden>
CMakeLists.txt: more info on build configs
---
CMakeLists.txt | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6db44cb..67ef627 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,13 +14,14 @@
#
# The following will 1. create a build directory and 2. change into it and
# call cmake to configure the build with default parameters as a static
-# library.
+# library. See
https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html
+# for information about Debug, Release, etc. builds.
#
-# cmake -B build
+# cmake -B build -D CMAKE_BUILD_TYPE=Release
#
# For a dynamic library, use
#
-# cmake -B build -D BUILD_SHARED_LIBS=true
+# cmake -B build -D BUILD_SHARED_LIBS=true -D CMAKE_BUILD_TYPE=Release
#
# For a framework on OS X, use
#
@@ -38,17 +39,17 @@
#
# cmake -B build -G Xcode -D IOS_PLATFORM=SIMULATOR64
#
-# Finally, build the project (with optimizations) with:
+# Finally, build the project with:
#
-# cmake --build build --config Release
+# cmake --build build
#
# Install it with
#
-# (sudo) cmake --build build --config Release --target install
+# (sudo) cmake --build build --target install
#
# A binary distribution can be made with
#
-# cmake --build build --config Release --target package
+# cmake --build build --target package
#
# Please refer to the cmake manual for further options, in particular, how
# to modify compilation and linking parameters.
@@ -73,7 +74,7 @@
# a dependency, e.g.:
#
# cmake -B build -D FT_WITH_ZLIB=ON -D FT_WITH_BZIP2=ON \
-# -D FT_WITH_PNG=ON -D FT_WITH_HARFBUZZ=ON
+# -D FT_WITH_PNG=ON -D FT_WITH_HARFBUZZ=ON [...]
#
# Use the `CMAKE_DISABLE_FIND_PACKAGE_X=TRUE' variables to
# disable a dependency completely (CMake package name, so `BZip2' instead of
@@ -82,7 +83,7 @@
# cmake -B build -D CMAKE_DISABLE_FIND_PACKAGE_ZLIB=TRUE \
# -D CMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE \
# -D CMAKE_DISABLE_FIND_PACKAGE_PNG=TRUE \
-# -D CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE
+# -D CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE [...]
#
# . Installation of FreeType can be controlled with the CMake variables
# `SKIP_INSTALL_HEADERS', `SKIP_INSTALL_LIBRARIES', and `SKIP_INSTALL_ALL'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] cmakelists-updates e605ce0 4/6: CMakeLists.txt: more info on build configs,
Nikolaus Waxweiler <=