soasis / text

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.
https://ztdtext.readthedocs.io/en/latest/
Other
316 stars 25 forks source link

♻ Slightly refactor CMake to rely more on generator expressions #2

Closed bruxisma closed 3 years ago

bruxisma commented 3 years ago

Additional notes from the commit

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