Skip to content

Commit

Permalink
Document detect_glib_libc() and detect_musl_libc() functions
Browse files Browse the repository at this point in the history
This documents the functions added in conan-io/conan#15683.
  • Loading branch information
jwillikers committed Feb 15, 2024
1 parent 86b49fd commit b4f58e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reference/config_files/profiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,8 @@ the associated runtime, you can use:

- **`detect_os()`**: returns operating system as a string (e.g., "Windows", "Macos").
- **`detect_arch()`**: returns system architecture as a string (e.g., "x86_64", "armv8").
- **`detect_glib_libc(ldd="/usr/bin/ldd")`**: returns the version of the GNU C library as a string (e.g., "2.38", "2.39").
- **`detect_musl_libc(ldd="/usr/bin/ldd")`**: returns the version of the musl C library as a string (e.g., "1.2.4", "1.2.4_git20230717").
- **`detect_libcxx(compiler, version, compiler_exe=None)`**: returns C++ standard library as a string (e.g., "libstdc++", "libc++").
- **`default_msvc_runtime(compiler)`**: returns tuple with runtime (e.g., "dynamic") and its version (e.g., "v143").
- **`default_cppstd(compiler, compiler_version)`**: returns default C++ standard as a string (e.g., "gnu14").
Expand Down

0 comments on commit b4f58e8

Please sign in to comment.