Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[cmake] Adding/customizing arguments for cmake



  • Hi all, and pro,
    I am trying Qt.5.11.1, to load a project by using cmake ( /usr/bin/cmake). Default command is "/usr/bin/cmake -E server --pipe=/tmp/cmake-.IfKJPj/socket --experimental" in /tmp/QtCreator-Apkxwm/qtc-cmake-vJdBZCWB. However, I want to customize to look like "/usr/bin/cmake a1 a2 an", can I? If yes, what should I do?
    Best regards,
    Thuan T. Nguyen


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Based on the Setting Up CMake chapter in Qt Creator's documentation. You should be able to do that from the Kit page.

    Hope it helps


Log in to reply