wlly-lzh
deepin
16 hours ago 我今天试着在虚拟机里面搞了一下,我只能说“能编译就行,别管什么警告了”。
deepin-IDE它就是默认将 CodeBlocks作为编译设置的,而不是设置为cmake默认的 Unix Makefiles。
反正就很奇怪,这样做有什么好处呢?
还有,尽可能多用用qtcretor、vscode这些工具,说到底deepin-IDE只是一个小众IDE,它只能在deepin上用,你甚至无法在其他Linux平台使用它。
其次,不要太依赖IDE,多学习一些cmake命令吧。
Reply Like 1 View the author


中文 
这几天在Deepin20上 研究用Deepin IDE 和 QT 做点东西。需要用C++17版本,就装上了Deepin23的系统。
用DeepinIDE时,发现有报警,找了各种原因,最后试出来,在刚装好的IDE和QT的依赖就有这个报警。
升级安装为Deepin25后,也有这个问题。换过3台电脑装Deepin25,Deepin23,都这样。
虽然做的东西也能运行,不过总有个报警,是什么原因?下面是我在Deepin25系统上的截图。
CMake Deprecation Warning:
Support for "Extra Generators" like
is deprecated and will be removed from a future version of CMake. IDEs may
use the cmake-file-api(7) to view CMake-generated project build trees.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.