QtCreator 4 and CMake parameters

后端 未结 3 901
旧巷少年郎
旧巷少年郎 2021-02-19 15:08

I used to open a CMake-based C++ project with QtCreator and pass my custom CMake command line parameters when configuring the project. In the recent versions of QtCreator (QtCre

3条回答
  •  野的像风
    2021-02-19 15:46

    "Tools" > "Options" > "Build & Run" > "Your kit" > "CMake configuration"

    Add a line and rebuild. You can go the short way Ctrl+5 (Projects mode) > "Manage Kits...", too.

提交回复
热议问题