-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rework qbs profile * fix imports * docstrings * use flags from conf instead of env * Allow to override extra flags * support sysroot * fix _vcvars_versions --------- Co-authored-by: James <james@conan.io>
- Loading branch information
1 parent
96d2d98
commit dc0de66
Showing
8 changed files
with
835 additions
and
35 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from conan.tools.qbs.qbs import Qbs | ||
from conan.tools.qbs.qbsdeps import QbsDeps | ||
from conan.tools.qbs.qbsprofile import QbsProfile |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
architecture_map = { | ||
'x86': 'x86', | ||
'x86_64': 'x86_64', | ||
'ppc32be': 'ppc', | ||
'ppc32': 'ppc', | ||
'ppc64le': 'ppc64', | ||
'ppc64': 'ppc64', | ||
'armv4': 'arm', | ||
'armv4i': 'arm', | ||
'armv5el': 'arm', | ||
'armv5hf': 'arm', | ||
'armv6': 'arm', | ||
'armv7': 'arm', | ||
'armv7hf': 'arm', | ||
'armv7s': 'arm', | ||
'armv7k': 'arm', | ||
'armv8': 'arm64', | ||
'armv8_32': 'arm64', | ||
'armv8.3': 'arm64', | ||
'sparc': 'sparc', | ||
'sparcv9': 'sparc64', | ||
'mips': 'mips', | ||
'mips64': 'mips64', | ||
'avr': 'avr', | ||
's390': 's390x', | ||
's390x': 's390x', | ||
'asm.js': None, | ||
'wasm': None, | ||
'sh4le': 'sh' | ||
} | ||
|
||
|
||
build_variant_map = { | ||
'Debug': 'debug', | ||
'Release': 'release', | ||
'RelWithDebInfo': 'profiling', | ||
'MinSizeRel': 'release' | ||
} | ||
|
||
|
||
optimization_map = { | ||
'MinSizeRel': 'small' | ||
} | ||
|
||
|
||
cxx_language_version_map = { | ||
'98': 'c++98', | ||
'gnu98': 'c++98', | ||
'11': 'c++11', | ||
'gnu11': 'c++11', | ||
'14': 'c++14', | ||
'gnu14': 'c++14', | ||
'17': 'c++17', | ||
'gnu17': 'c++17', | ||
'20': 'c++20', | ||
'gnu20': 'c++20' | ||
} | ||
|
||
|
||
target_platform_map = { | ||
'Windows': 'windows', | ||
'WindowsStore': 'windows', | ||
'WindowsCE': 'windows', | ||
'Linux': 'linux', | ||
'Macos': 'macos', | ||
'Android': 'android', | ||
'iOS': 'ios', | ||
'watchOS': 'watchos', | ||
'tvOS': 'tvos', | ||
'visionOS': 'xros', | ||
'FreeBSD': 'freebsd', | ||
'SunOS': 'solaris', | ||
'AIX': 'aix', | ||
'Emscripten': None, | ||
'Arduino': 'none', | ||
'Neutrino': 'qnx', | ||
} | ||
|
||
|
||
runtime_library_map = { | ||
'static': 'static', | ||
'dynamic': 'dynamic', | ||
'MD': 'dynamic', | ||
'MT': 'static', | ||
'MDd': 'dynamic', | ||
'MTd': 'static', | ||
} |
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
Oops, something went wrong.