Created
April 18, 2015 06:35
-
-
Save Wohlstand/9d8bda938e408fb4bc8b to your computer and use it in GitHub Desktop.
Don't flood build directory with object files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android:{ | |
ARCH=android_arm | |
} else { | |
!contains(QMAKE_TARGET.arch, x86_64) { | |
ARCH=x32 | |
} else { | |
ARCH=x64 | |
} | |
} | |
static: { | |
LINKTYPE=static | |
} else { | |
LINKTYPE=dynamic | |
} | |
debug: BUILDTP=debug | |
release: BUILDTP=release | |
OBJECTS_DIR = $$DESTDIR/_build_$$ARCH/$$TARGET/_$$BUILDTP/.obj | |
MOC_DIR = $$DESTDIR/_build_$$ARCH/$$TARGET/_$$BUILDTP/.moc | |
RCC_DIR = $$DESTDIR/_build_$$ARCH/$$TARGET/_$$BUILDTP/.rcc | |
UI_DIR = $$DESTDIR/_build_$$ARCH/$$TARGET/_$$BUILDTP/.ui | |
message("$$TARGET will be built as $$BUILDTP $$ARCH ($$QMAKE_TARGET.arch) $${LINKTYPE}ally in $$OBJECTS_DIR") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment