A spicy text library for C++ that has the explicit goal of enabling the entire ecosystem to share in proper forward progress towards a bright Unicode future.
♻ Use target_compile_features instead of passing a flag directly
♻ Check several compiler flags before using them
♻ Include CTest instead of calling enable_testing() directly
♻ Clean up creation of scratch target
🔥 Delete erroneous include to pull in sol2-targets in ztd.text-config.cmake.in
There are several more changes that could be made to improve ztd.text, including setting up the install() command, removing the unnecessary exporting of CMake variables (this isn't needed since 2.8).
Additionally, CMake supports naming interface libraries with :: in them. As such creating an ALIAS library is unnecessary and the library could simply be named ztd::text
Additional notes from the commit
enable_testing()
directlyscratch
targetinclude
to pull in sol2-targets in ztd.text-config.cmake.inThere are several more changes that could be made to improve ztd.text, including setting up the
install()
command, removing the unnecessary exporting of CMake variables (this isn't needed since 2.8).Additionally, CMake supports naming interface libraries with
::
in them. As such creating anALIAS
library is unnecessary and the library could simply be namedztd::text