Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Pres Build step with QtCreator and cmake
Forum Updated to NodeBB v4.3 + New Features

Pres Build step with QtCreator and cmake

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 404 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AurelPns
    wrote on last edited by AurelPns
    #1

    Hi,

    I have a CMakeList project (works correctly with VS) and I want to open it with QtCreator, the problem is with the "add_custom_command"

    add_custom_command(TARGET ${target}
    PRE_BUILD
    COMMAND ${CMAKE_COMMAND} -E make_directory "toto"
    WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}")

    I know that the "PRE_BUILD" option works only with VS but I would find a similar thing for QtCreator.
    My project is a big one with many sub project so I don't want to add manualy build step and I find nothing about that atm....

    Any idea ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved