mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 05:45:51 +00:00
8ed59fc207
This can be used to set the compiler features required by particular targets. An error is issued at CMake time if the compiler does not support the required feature. If a language dialect flag is required by the features used, that will be added automatically. Base the target_compile_features command on cmTargetPropCommandBase. This gives us 'free' handling of IMPORTED, ALIAS, INTERFACE, non-compilable and missing targets.
3 lines
69 B
CMake
3 lines
69 B
CMake
|
|
target_compile_features(main INTERFACE cxx_delegating_constructors)
|