![]() ![]() You can also open the file with the JSON editor by clicking. This command opens the CMake Settings Editor, which you can use to edit the CMakeSettings.json file in your root project folder. The wizard opens a dialog box and says 'Please specify the path to the cmake exe'. (I'm mostly thinking about UseLibPackxxx. To change the default CMake settings in Visual Studio 2019 or later, from the main toolbar, open the Configuration dropdown and choose Manage Configurations. Trying to create a plain c++ project in ubuntu using the the qt4 creator IDE. So, on linux, the change seems pretty harmless.ĭo you think requiring a more recent CMake version is desirable for the project ?Īre there side effects to watch-out on the other platforms ? There were no warning messages during configuration, and compilation was OK. To check, I tried setting the minimum required version to 3.13, the one distributed with Debian Buster (stable), removed the stuff about cmake policies from the top CMakeLists.txt (this part is mostly obsolete even with CMake 3.3 anyway) and used the imported targets OPENGL::GL and OPENGL::GLU brougth by FinfOpenGL instead of lib names to link, where appropriate.Ĭonfigured with -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3, So I would advocate to require a more recent version of CMake for future developpements. This tends to reduce the need for project's own boilerplate configuration code and eases maintenance. In my humble opinion, the progressive improvements of CMake allow for a cleaner and leaner syntax in CMakeLists.txt files, and provide new or improved modules. I was wondering if it could be beneficial to require a more recent version of CMake. This version was introduced five years ago. The minimum CMake version required by FreeCAD today is 3.3 (it's set in the top CMakeLists.txt file). ![]() OS: Debian GNU/Linux 10 (buster) (GNOME/gnome) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |