mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-20 07:44:02 +02:00
Compare commits
No commits in common. "1ff9a975d657ac4df5b0c3f080213bb9bc1046ab" and "ce0abdeb21f85587022ce7355769dc02a4a6c308" have entirely different histories.
1ff9a975d6
...
ce0abdeb21
|
@ -167,10 +167,10 @@ macos_task_template: &MACOS_TASK_TEMPLATE
|
||||||
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
||||||
- sudo xcode-select -p
|
- sudo xcode-select -p
|
||||||
- brew update > /dev/null
|
- brew update > /dev/null
|
||||||
- brew install --force qt6 coreutils ccache qbs cmake
|
- brew install --force qt6 coreutils ccache conan qbs cmake
|
||||||
- chmod -R 755 /opt/homebrew/opt/qt6/*
|
- chmod -R 755 /opt/homebrew/opt/qt6/*
|
||||||
- python3 --version
|
- python3 --version
|
||||||
- pip3 install --user --upgrade pip dropbox conan==1.59
|
- pip3 install --user --upgrade pip dropbox
|
||||||
- ccache --set-config=sloppiness=pch_defines,time_macros
|
- ccache --set-config=sloppiness=pch_defines,time_macros
|
||||||
- conan --version
|
- conan --version
|
||||||
- qmake --version
|
- qmake --version
|
||||||
|
@ -178,6 +178,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
|
||||||
- qbs --version
|
- qbs --version
|
||||||
build_script:
|
build_script:
|
||||||
- pwd
|
- pwd
|
||||||
|
- conan profile detect
|
||||||
- conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=xerces-c/3.2.4
|
- conan install . -s os=Macos -s os.version=${MACOS_DEPLOYMENT_TARGET} --build=xerces-c/3.2.4
|
||||||
- qbs setup-toolchains --detect
|
- qbs setup-toolchains --detect
|
||||||
- qbs config --list profiles
|
- qbs config --list profiles
|
||||||
|
|
69
appveyor.yml
69
appveyor.yml
|
@ -44,7 +44,7 @@ environment:
|
||||||
- job_name: Windows_Qt_6_4_(GCC_x64)
|
- job_name: Windows_Qt_6_4_(GCC_x64)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
COMPILER: mingw
|
COMPILER: mingw
|
||||||
QT: Qt\6.4\mingw_64
|
QT: Qt\6.4.0\mingw_64
|
||||||
QT_VERSION: Qt6_4
|
QT_VERSION: Qt6_4
|
||||||
BUILD_SYSTEM: "qbs"
|
BUILD_SYSTEM: "qbs"
|
||||||
GCC_VERSION: 11.2
|
GCC_VERSION: 11.2
|
||||||
|
@ -82,7 +82,7 @@ environment:
|
||||||
- job_name: MacOS_12_Qt_6_4 (multibundle)
|
- job_name: MacOS_12_Qt_6_4 (multibundle)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
||||||
COMPILER: clang
|
COMPILER: clang
|
||||||
QT: $HOME/Qt/6.4/macos
|
QT: $HOME/Qt/6.4.0/macos/bin
|
||||||
QT_VERSION: Qt6_4
|
QT_VERSION: Qt6_4
|
||||||
BUILD_SYSTEM: "qbs"
|
BUILD_SYSTEM: "qbs"
|
||||||
ARCH: x64
|
ARCH: x64
|
||||||
|
@ -96,7 +96,7 @@ environment:
|
||||||
- job_name: MacOS_12_Qt_6_4 (singlebundle)
|
- job_name: MacOS_12_Qt_6_4 (singlebundle)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
||||||
COMPILER: clang
|
COMPILER: clang
|
||||||
QT: $HOME/Qt/6.4/macos
|
QT: $HOME/Qt/6.4.0/macos/bin
|
||||||
QT_VERSION: Qt6_4
|
QT_VERSION: Qt6_4
|
||||||
BUILD_SYSTEM: "qbs"
|
BUILD_SYSTEM: "qbs"
|
||||||
ARCH: x64
|
ARCH: x64
|
||||||
|
@ -110,7 +110,7 @@ environment:
|
||||||
- job_name: MacOS_10_15_Qt_5_15 (qbs, multibundle)
|
- job_name: MacOS_10_15_Qt_5_15 (qbs, multibundle)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
||||||
COMPILER: clang
|
COMPILER: clang
|
||||||
QT: $HOME/Qt/5.15/clang_64
|
QT: $HOME/Qt/5.15.2/clang_64/bin
|
||||||
QT_VERSION: Qt5_15
|
QT_VERSION: Qt5_15
|
||||||
BUILD_SYSTEM: "qbs"
|
BUILD_SYSTEM: "qbs"
|
||||||
ARCH: x64
|
ARCH: x64
|
||||||
|
@ -124,7 +124,7 @@ environment:
|
||||||
- job_name: MacOS_10_15_Qt_5_15 (qbs, singlebundle)
|
- job_name: MacOS_10_15_Qt_5_15 (qbs, singlebundle)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
||||||
COMPILER: clang
|
COMPILER: clang
|
||||||
QT: $HOME/Qt/5.15/clang_64
|
QT: $HOME/Qt/5.15.2/clang_64/bin
|
||||||
QT_VERSION: Qt5_15
|
QT_VERSION: Qt5_15
|
||||||
BUILD_SYSTEM: "qbs"
|
BUILD_SYSTEM: "qbs"
|
||||||
ARCH: x64
|
ARCH: x64
|
||||||
|
@ -150,7 +150,7 @@ environment:
|
||||||
- job_name: Windows_Qt_6_4_(MSVC_x64)
|
- job_name: Windows_Qt_6_4_(MSVC_x64)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
COMPILER: msvc
|
COMPILER: msvc
|
||||||
QT: Qt\6.4\msvc2019_64
|
QT: Qt\6.4.0\msvc2019_64
|
||||||
QT_VERSION: Qt6_4
|
QT_VERSION: Qt6_4
|
||||||
BUILD_SYSTEM: "qbs"
|
BUILD_SYSTEM: "qbs"
|
||||||
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\x64"
|
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\x64"
|
||||||
|
@ -162,7 +162,7 @@ environment:
|
||||||
- job_name: Windows_Qt_6_4_(MSVC_arm64)
|
- job_name: Windows_Qt_6_4_(MSVC_arm64)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
COMPILER: msvc
|
COMPILER: msvc
|
||||||
QT: Qt\6.4\msvc2019_arm64
|
QT: Qt\6.4.0\msvc2019_arm64
|
||||||
QT_VERSION: Qt6_4
|
QT_VERSION: Qt6_4
|
||||||
BUILD_SYSTEM: "qbs"
|
BUILD_SYSTEM: "qbs"
|
||||||
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\arm64"
|
MSVC_PATH: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\Hostx64\\arm64"
|
||||||
|
@ -222,7 +222,7 @@ environment:
|
||||||
- job_name: MacOS_10_15_Qt_5_15 (make)
|
- job_name: MacOS_10_15_Qt_5_15 (make)
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-catalina
|
||||||
COMPILER: clang
|
COMPILER: clang
|
||||||
QT: $HOME/Qt/5.15/clang_64
|
QT: $HOME/Qt/5.15.2/clang_64/bin
|
||||||
QT_VERSION: Qt5_15
|
QT_VERSION: Qt5_15
|
||||||
BUILD_SYSTEM: "make"
|
BUILD_SYSTEM: "make"
|
||||||
ARCH: x64
|
ARCH: x64
|
||||||
|
@ -304,7 +304,7 @@ for:
|
||||||
# Path before
|
# Path before
|
||||||
- path
|
- path
|
||||||
- set QTDIR=C:\%QT%
|
- set QTDIR=C:\%QT%
|
||||||
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Qt\Tools\QtCreator\bin;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\;%PYTHON%;%PYTHON%\Scripts
|
- set PATH=%QTDIR%\bin;%QTDIR%\include;C:\Tools\PsTools;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Tools\GitVersion;C:\Windows\system32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0\
|
||||||
# Set VC variables for the platform
|
# Set VC variables for the platform
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:COMPILER -eq "msvc") {
|
if ($env:COMPILER -eq "msvc") {
|
||||||
|
@ -322,6 +322,8 @@ for:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
- set PATH=C:\Qt\Tools\QtCreator\bin;%PATH%
|
||||||
|
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
|
||||||
# Path after
|
# Path after
|
||||||
- path
|
- path
|
||||||
# Check that we have the expected version for Python
|
# Check that we have the expected version for Python
|
||||||
|
@ -329,11 +331,11 @@ for:
|
||||||
# Install the build dependencies of the project.
|
# Install the build dependencies of the project.
|
||||||
- (python -m pip install --upgrade pip)
|
- (python -m pip install --upgrade pip)
|
||||||
- if "%DEPLOY%" == "true" (python -m pip install dropbox)
|
- if "%DEPLOY%" == "true" (python -m pip install dropbox)
|
||||||
- python -m pip install conan==1.59
|
- python -m pip install conan
|
||||||
# Trick qmake to not work through MSYS
|
# Trick qmake to not work through MSYS
|
||||||
- del /F "C:\Program Files\Git\usr\bin\sh.exe"
|
- del /F "C:\Program Files\Git\usr\bin\sh.exe"
|
||||||
- del /F "C:\Program Files\Git\bin\sh.exe"
|
- del /F "C:\Program Files\Git\bin\sh.exe"
|
||||||
- qmake.exe -v
|
- qmake -v
|
||||||
- qbs --version
|
- qbs --version
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
|
@ -342,24 +344,19 @@ for:
|
||||||
- qbs-setup-qt %QTDIR%\bin\qmake.exe qt6
|
- qbs-setup-qt %QTDIR%\bin\qmake.exe qt6
|
||||||
- qbs-config defaultProfile qt6
|
- qbs-config defaultProfile qt6
|
||||||
- dir "C:\Qt\Tools"
|
- dir "C:\Qt\Tools"
|
||||||
|
- conan config home
|
||||||
|
- type %HOMEPATH%\.conan2\settings.yml
|
||||||
- conan profile new valentina
|
- conan profile new valentina
|
||||||
- conan profile update settings.build_type=Release valentina
|
|
||||||
- conan profile update settings.os=Windows valentina
|
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:ARCH -eq "x64") {
|
|
||||||
& conan profile update settings.arch=x86_64 valentina
|
|
||||||
} else {
|
|
||||||
& conan profile update settings.arch=x86 valentina
|
|
||||||
}
|
|
||||||
if ($env:COMPILER -eq "msvc")
|
if ($env:COMPILER -eq "msvc")
|
||||||
{
|
{
|
||||||
& qbs-setup-toolchains.exe --type msvc $env:MSVC_PATH\cl.exe $env:COMPILER
|
& qbs-setup-toolchains.exe --type msvc $env:MSVC_PATH\cl.exe $env:COMPILER
|
||||||
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
||||||
& conan profile update settings.compiler=msvc valentina
|
& conan profile update settings.compiler=msvc valentina
|
||||||
& conan profile update settings.compiler.cppstd=17 valentina
|
& conan profile update settings.compiler.cppstd=17 valentina
|
||||||
& conan profile update settings.compiler.runtime=dynamic valentina
|
|
||||||
& conan profile update settings.compiler.runtime_type=Release valentina
|
|
||||||
& conan profile update settings.compiler.version=192 valentina
|
& conan profile update settings.compiler.version=192 valentina
|
||||||
|
& conan profile update settings.compiler.runtime=static valentina
|
||||||
|
& conan profile update settings.compiler.runtime_type=Release valentina
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -370,11 +367,18 @@ for:
|
||||||
& conan profile update settings.compiler.libcxx=libstdc++11 valentina
|
& conan profile update settings.compiler.libcxx=libstdc++11 valentina
|
||||||
& conan profile update settings.compiler.version=$env:GCC_VERSION valentina
|
& conan profile update settings.compiler.version=$env:GCC_VERSION valentina
|
||||||
}
|
}
|
||||||
|
if ($env:ARCH -eq "x64") {
|
||||||
|
& conan profile update settings.arch=x86_64 valentina
|
||||||
|
} else {
|
||||||
|
& conan profile update settings.arch=x86 valentina
|
||||||
|
}
|
||||||
|
- conan profile update settings.os=Windows valentina
|
||||||
|
- conan profile update settings.build_type=Release valentina
|
||||||
- qbs-config --list profiles
|
- qbs-config --list profiles
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- conan install . -s os=Windows --build=xerces-c/3.2.4 -pr valentina
|
- conan install . -s os=Windows --build=xerces-c/3.2.4
|
||||||
- qbs build -f valentina.qbs -d %APPVEYOR_BUILD_FOLDER%\build --command-echo-mode command-line config:release qbs.installRoot:%APPVEYOR_BUILD_FOLDER%\build\install-root\valentina profile:qt6 project.enableConan:true modules.buildconfig.enableCcache:false project.conanProfiles:[valentina]
|
- qbs build -f valentina.qbs -d %APPVEYOR_BUILD_FOLDER%\build --command-echo-mode command-line config:release qbs.installRoot:%APPVEYOR_BUILD_FOLDER%\build\install-root\valentina profile:qt6 project.enableConan:true modules.buildconfig.enableCcache:false
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- qbs -p autotest-runner -d %APPVEYOR_BUILD_FOLDER%\build profile:qt6 config:release
|
- qbs -p autotest-runner -d %APPVEYOR_BUILD_FOLDER%\build profile:qt6 config:release
|
||||||
|
@ -487,25 +491,19 @@ for:
|
||||||
- job_name: MacOS_10_15_Qt_5_15 (qbs, singlebundle)
|
- job_name: MacOS_10_15_Qt_5_15 (qbs, singlebundle)
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- export QTDIR=$QT
|
|
||||||
- export PATH="$QTDIR/bin:$PATH"
|
|
||||||
- echo $PATH
|
|
||||||
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
||||||
- sudo xcode-select -p
|
- sudo xcode-select -p
|
||||||
- sudo xcode-select -s /Applications/Xcode-$XCODE_VERSION.app
|
- sudo xcode-select -s /Applications/Xcode-$XCODE_VERSION.app
|
||||||
- sudo xcode-select -p
|
- sudo xcode-select -p
|
||||||
- brew update > /dev/null
|
- brew update > /dev/null
|
||||||
- rm '/usr/local/bin/ccmake'
|
- rm '/usr/local/bin/ccmake'
|
||||||
- rm '/usr/local/bin/cmake'
|
|
||||||
- rm '/usr/local/bin/cpack'
|
|
||||||
- rm '/usr/local/bin/ctest'
|
|
||||||
- brew install --force coreutils qbs cmake
|
- brew install --force coreutils qbs cmake
|
||||||
- python3 --version
|
|
||||||
- |
|
- |
|
||||||
if [[ "$ENABLE_CONAN" == "true" ]]; then
|
if [[ "$ENABLE_CONAN" == "true" ]]; then
|
||||||
pip3 install --user --upgrade conan==1.59;
|
brew install --force conan;
|
||||||
conan --version
|
conan --version
|
||||||
fi
|
fi
|
||||||
|
- python3 --version
|
||||||
- pip3 install --user --upgrade pip dropbox
|
- pip3 install --user --upgrade pip dropbox
|
||||||
- clang --version
|
- clang --version
|
||||||
- qmake --version
|
- qmake --version
|
||||||
|
@ -523,7 +521,7 @@ for:
|
||||||
fi
|
fi
|
||||||
- qbs setup-toolchains --detect
|
- qbs setup-toolchains --detect
|
||||||
- qbs config --list profiles
|
- qbs config --list profiles
|
||||||
- qbs setup-qt ${QTDIR}/bin/qmake qt6
|
- qbs setup-qt ${QT}/qmake qt6
|
||||||
- qbs config defaultProfile qt6
|
- qbs config defaultProfile qt6
|
||||||
- qbs config profiles.qt6.baseProfile clang
|
- qbs config profiles.qt6.baseProfile clang
|
||||||
- qbs build -f valentina.qbs -d ${APPVEYOR_BUILD_FOLDER}/build --command-echo-mode command-line config:release modules.buildconfig.enableUnitTests:false modules.buildconfig.enableMultiBundle:${MULTI_BUNDLE} qbs.installRoot:${APPVEYOR_BUILD_FOLDER}/build/install-root profile:qt6 project.enableConan:true project.minimumMacosVersion:${MACOS_DEPLOYMENT_TARGET} modules.buildconfig.enableCcache:false
|
- qbs build -f valentina.qbs -d ${APPVEYOR_BUILD_FOLDER}/build --command-echo-mode command-line config:release modules.buildconfig.enableUnitTests:false modules.buildconfig.enableMultiBundle:${MULTI_BUNDLE} qbs.installRoot:${APPVEYOR_BUILD_FOLDER}/build/install-root profile:qt6 project.enableConan:true project.minimumMacosVersion:${MACOS_DEPLOYMENT_TARGET} modules.buildconfig.enableCcache:false
|
||||||
|
@ -537,16 +535,13 @@ for:
|
||||||
- job_name: MacOS_10_15_Qt_5_15 (make)
|
- job_name: MacOS_10_15_Qt_5_15 (make)
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- QTDIR=$QT
|
|
||||||
- PATH="$QTDIR/bin:$PATH"
|
|
||||||
- echo $PATH
|
|
||||||
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
- find /Applications -maxdepth 1 -type d -name 'Xcode*.app'
|
||||||
- sudo xcode-select -p
|
- sudo xcode-select -p
|
||||||
- sudo xcode-select -s /Applications/Xcode-$XCODE_VERSION.app
|
- sudo xcode-select -s /Applications/Xcode-$XCODE_VERSION.app
|
||||||
- sudo xcode-select -p
|
- sudo xcode-select -p
|
||||||
- clang --version
|
- clang --version
|
||||||
- qmake --version
|
- ${QT}/qmake --version
|
||||||
- which qmake
|
- which ${QT}/qmake
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- cd ${APPVEYOR_BUILD_FOLDER}
|
- cd ${APPVEYOR_BUILD_FOLDER}
|
||||||
|
@ -555,7 +550,7 @@ for:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- pwd
|
- pwd
|
||||||
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=checkWarnings CONFIG+=noTests CONFIG+=no_ccache
|
- ${QT}/qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=checkWarnings CONFIG+=noTests CONFIG+=no_ccache
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
|
|
||||||
#---------------------------------#
|
#---------------------------------#
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
import qbs
|
||||||
import qbs.Process
|
import qbs.Process
|
||||||
import qbs.File
|
import qbs.File
|
||||||
import qbs.FileInfo
|
import qbs.FileInfo
|
||||||
|
@ -40,11 +41,10 @@ Probe {
|
||||||
property path conanfilePath
|
property path conanfilePath
|
||||||
property path packageReference
|
property path packageReference
|
||||||
property path executable: "conan"
|
property path executable: "conan"
|
||||||
property stringList generators: ["json"]
|
property stringList generators: []
|
||||||
property var options
|
property var options
|
||||||
property var settings
|
property var settings
|
||||||
property bool verbose: false
|
property bool verbose: false
|
||||||
property stringList profiles: []
|
|
||||||
|
|
||||||
// Output
|
// Output
|
||||||
property var dependencies
|
property var dependencies
|
||||||
|
@ -97,8 +97,7 @@ Probe {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!generators.contains("json"))
|
args = args.concat(["-f", "json"]);
|
||||||
generators.push("json");
|
|
||||||
|
|
||||||
for (var i = 0; i < generators.length; i++)
|
for (var i = 0; i < generators.length; i++)
|
||||||
args = args.concat(["-g", generators[i]]);
|
args = args.concat(["-g", generators[i]]);
|
||||||
|
@ -106,15 +105,11 @@ Probe {
|
||||||
for (var i = 0; i < additionalArguments.length; i++)
|
for (var i = 0; i < additionalArguments.length; i++)
|
||||||
args.push(additionalArguments[i]);
|
args.push(additionalArguments[i]);
|
||||||
|
|
||||||
for (var i = 0; i < profiles.length; i++) {
|
|
||||||
args = args.concat(["-pr", profiles[i]]);
|
|
||||||
}
|
|
||||||
|
|
||||||
generatedFilesPath = FileInfo.cleanPath(_projectBuildDirectory +
|
generatedFilesPath = FileInfo.cleanPath(_projectBuildDirectory +
|
||||||
"/genconan/" +
|
"/genconan/" +
|
||||||
Utilities.getHash(args.join()));
|
Utilities.getHash(args.join()));
|
||||||
|
|
||||||
args = args.concat(["-if", generatedFilesPath]);
|
args = args.concat(["-of", generatedFilesPath]);
|
||||||
var p = new Process();
|
var p = new Process();
|
||||||
p.start(executable, args);
|
p.start(executable, args);
|
||||||
while (!p.waitForFinished(500)) {
|
while (!p.waitForFinished(500)) {
|
||||||
|
|
|
@ -6,7 +6,6 @@ Project {
|
||||||
|
|
||||||
property bool enableConan: false
|
property bool enableConan: false
|
||||||
property string minimumMacosVersion: undefined
|
property string minimumMacosVersion: undefined
|
||||||
property stringList conanProfiles: []
|
|
||||||
|
|
||||||
// Temporary probe until qbs doesn't support conan 2.0
|
// Temporary probe until qbs doesn't support conan 2.0
|
||||||
ConanfileProbe {
|
ConanfileProbe {
|
||||||
|
@ -14,7 +13,6 @@ Project {
|
||||||
condition: enableConan
|
condition: enableConan
|
||||||
conanfilePath: project.sourceDirectory + "/conanfile.py"
|
conanfilePath: project.sourceDirectory + "/conanfile.py"
|
||||||
verbose: true
|
verbose: true
|
||||||
profiles: conanProfiles
|
|
||||||
}
|
}
|
||||||
|
|
||||||
references: [
|
references: [
|
||||||
|
|
Loading…
Reference in a new issue