File: Check-from_chars.cmake

package info (click to toggle)
stellarium 24.3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 911,396 kB
  • sloc: ansic: 317,377; cpp: 204,602; xml: 48,590; javascript: 26,348; python: 1,254; perl: 1,108; sh: 207; makefile: 190; pascal: 169
file content (7 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
message(STATUS "Checking that std::from_chars for floats is supported by the C++ library")
try_compile(FROM_CHARS_WORKS "${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_LIST_DIR}/check-from_chars.cpp")
if(FROM_CHARS_WORKS)
	message(STATUS "Checking that std::from_chars for floats is supported by the C++ library - yes")
else()
	message(STATUS "Checking that std::from_chars for floats is supported by the C++ library - NO")
endif()