Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qmake - Add variables from .pro file to Makefile
Forum Updated to NodeBB v4.3 + New Features

Qmake - Add variables from .pro file to Makefile

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    luke_dirtwalker
    wrote on last edited by
    #1

    Hi,

    I would like to define some variables like this:
    @LLVMCONFIG = llvm-config@
    which should be available in the makefile as well. How can I do this?
    (I read somewhere they should be copied to the makefile as default which is not the case...)

    Furthermore if this is possible I would like to make a custom make command like this:
    %: %.o
    $(CXX) -o $@ $< $(CLANGLIBS) $(LLVMLDFLAGS)

    can I specify this in the .pro file or should I use some other way like CMake?

    Thanks for any help

    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