Commit Graph

2 Commits (2a496fc80d844771fd47c0b8542f77854680ff0a)

Author SHA1 Message Date
Slávek Banko cb20ae4039
Add the ability to specify the necessary CXX features.
This increases the minimum necessary version of CMake to 3.1.

There are three levels:
1. TDE_CXX_FEATURES common for all TDE modules
2. PROJECT_CXX_FEATURES common at invidual module level
3. CXX_FEATURES and CXX_FEATURES_PRIVATE for individual libraries and binaries

Public CXX_FEATURES for libraries become part of the exported CMake target.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2bcaeab34e)
3 years ago
Slávek Banko e28a7be8ab
Move templates to a separate directory and rename to the tde_ prefix.
Create the TDE_CMAKE_ROOT and TDE_CMAKE_TEMPLATES variables.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2a847be412)
5 years ago