c++ - 通过 CMake target_compile_feature 检查是否支持 std::make_unique
问题描述
是否可以确保std::make_unique
通过 CMake 支持target_compile_feature
?
就像是:
target_compile_feature (target_name
cxx_make_unique # won't work.
)
解决方案
推荐阅读
- python - \r 在 Python 中不会删除整行
- python - 检测何时在 wnck python 中打开一个窗口
- java - 我如何在 Java (Android) 中读取 nc /bin/sh 响应
- python - 在 Python 中更改每个活动主机的按钮的背景颜色
- docker - 在 Dockerfile 中创建用户:选项 d 不明确
- python - 我可以只使用 nginx 或 Gunicorn 部署我的 Django 应用程序吗?
- sql - 查找客人最后评论并在昨天离开的所有帖子
- node.js - Node.JS dns.reverse 多个名称服务器
- c++ - c++ - 如何从使用c ++中的recv接收的数据中去除标头?
- javascript - 无法读取 forEach 推送函数中的数组属性