1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

README: Mention CMake single/multi-config

This commit is contained in:
Nick Wellnhofer
2025-05-25 13:59:50 +02:00
parent 4dc44c83ab
commit c136118dcc

View File

@@ -113,7 +113,8 @@ Example commands:
Common CMake options include:
-D BUILD_SHARED_LIBS=OFF # build static libraries
-D CMAKE_BUILD_TYPE=Release # specify build type
-D CMAKE_BUILD_TYPE=Release # specify build type (single-config)
--config Release # specify build type (multi-config)
-D CMAKE_INSTALL_PREFIX=/usr/local # specify the install path
-D LIBXML2_WITH_ICONV=OFF # disable iconv
-D LIBXML2_WITH_ZLIB=ON # enable zlib