Hi all.
I am compiling my app for 2 platforms, Destop and Android. The app uses a library. Right now I specify double library paths like this:
LIBS += -L/home/niko/wrkgr/intel/wrklib -L/home/niko/wrkgr/android/wrklib
How would I mofify the config file so the library path is included depending on the build architecture ?
something like:
Qt Code:
IF (INTEL) { LIBS += -L/home/niko/wrkgr/intel/wrklib ENDIF IF (ANDROID_ARM) { LIBS += -L/home/niko/wrkgr/intel/wrklib } IF (ANDROID_X86 { LIBS += -L/home/niko/wrkgr/intel/wrklib }To copy to clipboard, switch view to plain text mode
What is the correct syntax?
Bookmarks