AM
Size: a a a
AM
AM
sdkmanager.bat --install "platform-tools" "platforms;android-29" "build-tools;29.0.2" "ndk;21.3.6528147"
Warning: Failed to find package ndk;21.3.6528147
RG
sdkmanager.bat --install "platform-tools" "platforms;android-29" "build-tools;29.0.2" "ndk;21.3.6528147"
Warning: Failed to find package ndk;21.3.6528147
AM
sdkmanager.bat --install "platform-tools" "platforms;android-29" "build-tools;29.0.3" "ndk;21.3.6528147"
Warning: Failed to find package ndk;21.3.6528147
AM
AM
AM
AM
GS
AM
SK
# test_data.target = $$PWD/$$TARGETDIR/1/ptspas_LSD_C20U_6MPa.ipynb
# test_data.commands = jupyter nbconvert --to notebook --output-dir="$$PWD/$$TARGETDIR/1/" --execute $$JUPYTER_DIR/ptspas_LSD_C20U_6MPa.ipynb
# test_data.commands += && $$quote($$QMAKE_COPY $$JUPYTER_DIR/p*.ini ./$$TARGETDIR/1/)
SK
QMAKE_EXTRA_TARGETS += test_data(target_file_name1)
QMAKE_EXTRA_TARGETS += test_data(target_file_name2)
AU
# test_data.target = $$PWD/$$TARGETDIR/1/ptspas_LSD_C20U_6MPa.ipynb
# test_data.commands = jupyter nbconvert --to notebook --output-dir="$$PWD/$$TARGETDIR/1/" --execute $$JUPYTER_DIR/ptspas_LSD_C20U_6MPa.ipynb
# test_data.commands += && $$quote($$QMAKE_COPY $$JUPYTER_DIR/p*.ini ./$$TARGETDIR/1/)
SK
test_data.target = test_dataинформацию почерпнул тут: https://stackoverflow.com/questions/37614966/how-to-create-a-qmake-function-that-creates-a-custom-make-target
defineReplace(create_test_data) {
eval($${2}_custom.target = $$PWD/$$TARGETDIR/1/$$1)
eval($${2}_custom.commands = jupyter nbconvert --to notebook --output-dir="$$PWD/$$TARGETDIR/1/")
eval($${2}_custom.commands += --execute $$JUPYTER_DIR/$$1)
eval($${2}_custom.commands += && $$quote($$QMAKE_COPY $$JUPYTER_DIR/*.ini ./$$TARGETDIR/1/))
eval(export($${2}_custom.target))
eval(export($${2}_custom.commands))
QMAKE_EXTRA_TARGETS += $${2}_custom
export(QMAKE_EXTRA_TARGETS)
return($${2}_custom)
}
test_data.depends += $$create_test_data(ptspas_LSD_C20U_6MPa.ipynb, test_data_1)
test_data.depends += $$create_test_data(ptspas_LSD_C30U_8MPa.ipynb, test_data_2)
QMAKE_EXTRA_TARGETS += test_data
PRE_TARGETDEPS += test_data
SK
AU
AS
SK
CC