Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…

platform_path = unknown-platform | |
compiler_path = unknown-compiler | |
processor_path = unknown-processor | |
build_path = unknown-build | |
PLATFORM_WIN { | |
platform_path = windows | |
} | |
PLATFORM_OSX { | |
platform_path = osx | |
} | |
PLATFORM_LINUX { | |
platform_path = linux | |
} | |
COMPILER_GCC { | |
compiler_path = gcc | |
} | |
COMPILER_MSVC2017 { | |
compiler_path = msvc2017 | |
} | |
COMPILER_CLANG { | |
compiler_path = clang | |
} | |
PROCESSOR_x64 { | |
processor_path = x64 | |
} | |
PROCESSOR_x86 { | |
processor_path = x86 | |
} | |
# Special treatment for cross compiling! | |
equals(QT_ARCH, arm): { | |
platform_path = linux | |
compiler_path = gcc | |
processor_path = arm | |
} | |
BUILD_DEBUG { | |
build_path = debug | |
} else { | |
build_path = release | |
} | |
DESTINATION_PATH = $${platform_path}-$${compiler_path}-$${processor_path}/$$build_path | |
message(Dest path: $${DESTINATION_PATH}) | |
# Configure destination path by "Operating System/Compiler/Processor Architecture/Build Configuration" | |
DESTDIR = $$(YIO_BIN) | |
DESTDIR_BIN = $$(YIO_BIN) | |
isEmpty(DESTDIR) { | |
DESTDIR = $$(YIO_SRC) | |
isEmpty(DESTDIR) { | |
DESTDIR_BIN = $$clean_path($$PWD/../binaries) | |
DESTDIR = $$DESTDIR_BIN/$$DESTINATION_PATH | |
warning(Environment variables YIO_BIN and YIO_SRC not defined! Using '$$DESTDIR' as binary output directory.) | |
} else { | |
DESTDIR_BIN = $$clean_path($$(YIO_SRC)/binaries) | |
DESTDIR = $$DESTDIR_BIN/$$DESTINATION_PATH | |
message(YIO_SRC is set: using '$$DESTDIR' as binary output directory.) | |
} | |
} else { | |
message(YIO_BIN defined '$$DESTDIR' as binary output directory.) | |
} |