Compare commits
366 Commits
a1e3c4a35d
...
pip_2.39
| Author | SHA1 | Date | |
|---|---|---|---|
| ea57bc5cbd | |||
| d8b843c8e8 | |||
|
|
56bd00ed11 | ||
|
|
2faecd4183 | ||
|
|
e0f3df2217 | ||
| b8804524d4 | |||
|
|
4d9ad58f11 | ||
| 000114b53f | |||
|
|
2877d2e642 | ||
|
|
93f329e26e | ||
| 25a15485a5 | |||
| 10266e2f2c | |||
| 17e292bc58 | |||
| 0ab1cdaddd | |||
| f9385b74c4 | |||
| 178f7ad40e | |||
| df7808a84f | |||
| cf212c8d47 | |||
|
|
7a3fb8218b | ||
|
|
f473119d29 | ||
| 816be49239 | |||
| c9a0a0d69a | |||
| 57aa78c740 | |||
| 5874e5e1ac | |||
| 63d8d365b8 | |||
|
|
df9ed5de85 | ||
| dfa5a1a394 | |||
|
|
6df7387815 | ||
| 349ee2ccb5 | |||
|
|
d04fd3cba4 | ||
| 446a6734d7 | |||
|
|
abf8e1e6c6 | ||
| f7c59ee6ac | |||
|
|
75287cec2e | ||
| 692fedb4b9 | |||
|
|
784d12218b | ||
| 388898531b | |||
|
|
7ab7f64693 | ||
|
|
c2fa3b90ee | ||
|
|
396ca289fb | ||
|
|
8ac7b66ce7 | ||
|
|
7a6761dc7a | ||
|
|
0fd3ec141a | ||
| b0355ba5f5 | |||
| 720ac4c8ed | |||
| aa5758de83 | |||
|
|
24d2caf102 | ||
| 5dbeb7abbc | |||
| 4efd8d2860 | |||
| 225c63b6d9 | |||
| 0ada867018 | |||
| 7ecc327c79 | |||
| 1cdffe24d7 | |||
| 04d56182f8 | |||
|
|
862018e3b0 | ||
|
|
b8c6e41474 | ||
| 1f9b8c239e | |||
| f30965fdaf | |||
| 4165c9fe1c | |||
| 6b09bb70db | |||
|
|
13fa88db43 | ||
| a9d0dd2e63 | |||
| 59daed840f | |||
| ebd5ef3221 | |||
| cfd98b54fd | |||
| b0c80203d0 | |||
| be5f890057 | |||
| 035a2bd825 | |||
| 1625d6c68b | |||
|
|
cd4ede3409 | ||
| 56b1ef1289 | |||
|
|
3b7299747a | ||
| d237969ff2 | |||
| e735fe01a2 | |||
| f66d7bff7d | |||
| 9dba1a0091 | |||
| a313047275 | |||
| efe08dfb27 | |||
| b1b1723013 | |||
| 66a0f201bb | |||
| d1cb019ef0 | |||
| c0dfce7c4b | |||
| 70cc561136 | |||
| afe2c3d53d | |||
| 161eafd887 | |||
| 8c94c2fb6f | |||
| c8dd5b4c50 | |||
| 2b136b2232 | |||
| b8d9c9484f | |||
| 6397a943ae | |||
| 99f51689ac | |||
| eab16008df | |||
| b6656c1cc4 | |||
| 913e8c95f7 | |||
| 2777f44550 | |||
| f081100b58 | |||
| 1078aff0f4 | |||
| 61278804b3 | |||
| d8bd1c6ce1 | |||
| b6737bce40 | |||
| cbfca33349 | |||
| 33c0bd658f | |||
| 621f2bd715 | |||
| d1f7cc2fa7 | |||
| 51c9958c0c | |||
| 58a4166bd1 | |||
| 16bc5b0768 | |||
| a2382385d1 | |||
| f023037aaf | |||
| 871e2d8405 | |||
| 4e05a0b2ce | |||
| 334b457e10 | |||
| ff3559d97b | |||
| 6f3eb61e3d | |||
| 2688a206de | |||
| a98a1770cd | |||
| 1c3db61cc5 | |||
| 25a7c278f0 | |||
| 9868341a48 | |||
| 11bbeeba55 | |||
| f8a662baf6 | |||
| c2ea712ed4 | |||
| 6913dd3fb5 | |||
| 81b4b6efb9 | |||
| 993610a07e | |||
| a0b4ae652c | |||
| 98eea66a49 | |||
| 725dd09336 | |||
| 900f2874ac | |||
| 69d871433f | |||
| 078773b745 | |||
| a8884668a4 | |||
| 076fda99ca | |||
| 5a262a6b44 | |||
| e62fe139c0 | |||
| de0f235903 | |||
| 7c7a6dd173 | |||
| 66463b27ea | |||
| f77062ef25 | |||
| 2311f47898 | |||
| df6577b80f | |||
| de69867e38 | |||
| b74ede80b8 | |||
| 35f61f0c42 | |||
| 9d0e3e5481 | |||
| 1f9243fb8d | |||
| f5e7ba6f45 | |||
| c3af06ff65 | |||
| c3d9c0e2f9 | |||
| 6408ebaf5b | |||
| cae949eacb | |||
| e48fa4fffa | |||
| 2606da735f | |||
| a11bc3d7f8 | |||
| 746745188e | |||
| 8b059bd783 | |||
| b60f133cc9 | |||
| e0bb28560d | |||
| 6a9c328308 | |||
| dab9f3185f | |||
| 066ab32adc | |||
| 67476644dd | |||
| f4034379ac | |||
| 143083c950 | |||
| bc1e4d1fb9 | |||
| 0df27b567b | |||
| 22640d3044 | |||
| a45762afb7 | |||
| 0cbf5dbffa | |||
| 0012f9a37d | |||
| 53a1cb4814 | |||
| 7d4c38ce67 | |||
| 560f99cab3 | |||
| 0b5c390032 | |||
| d8a60dadff | |||
| f3a0a4a3a1 | |||
| 77adf5b64b | |||
| 32e24b963f | |||
| f4bfee1215 | |||
| c099d229ac | |||
| b77f04ba59 | |||
| f56ddc73c8 | |||
| 351d23b11f | |||
| b0fc989388 | |||
| e8a7f02b8f | |||
| b4d4b76b7e | |||
| c6ab0ff16d | |||
| 4198ca574a | |||
| edd3bde8d6 | |||
| 9d78e279a8 | |||
| 1a7b4fff2e | |||
| 706b157c13 | |||
| 49af7e7835 | |||
| fc446fcf98 | |||
| 6e6fc1dcd8 | |||
| b849d7a672 | |||
| 57e1ac6075 | |||
| 4f6ba22d12 | |||
| 9c215fe520 | |||
| 2d1d22f6b8 | |||
| 744c688003 | |||
| 4c3f8b5614 | |||
| 13a8064fa3 | |||
| c784297d3d | |||
| e06d9ee207 | |||
| b6b459e735 | |||
| c65ed7bfd4 | |||
| 88d825456e | |||
| 11dfae988b | |||
| abf01458e2 | |||
| ff4d5cebe0 | |||
| 82ea902972 | |||
| 10e908aea6 | |||
| 56b26f8e3d | |||
| ca75478028 | |||
| 63084955db | |||
| cfc4cb7353 | |||
| 9d1efb1213 | |||
| 0f305f7a41 | |||
| 91c48134cf | |||
| df699d546b | |||
| 0cd5127f06 | |||
| 65d76afee0 | |||
| 1b57cfd0d6 | |||
| 43c1fd8ce2 | |||
| ddea75e2ec | |||
| 5d63d7f1f6 | |||
| fcc9ab371b | |||
| 49ba500dd6 | |||
| 9baa4c53a5 | |||
| d58f61549e | |||
| a66aca0e4e | |||
| bd83c4f022 | |||
| 7e1c6b63e5 | |||
| 0a7da885b1 | |||
| 56658abe96 | |||
| 39d96efee0 | |||
| ca4865b59b | |||
| 1f9c921578 | |||
| 42c05772b1 | |||
| 44dc0a3374 | |||
| 6c9bd1f509 | |||
| 30183e4e72 | |||
| 34b7bedbe6 | |||
| 0b34c9c163 | |||
| 4bfd837b45 | |||
| 88d0b3247c | |||
| a41d654df2 | |||
| 9d330e0fee | |||
| 748341d0da | |||
| a9e8a4d87a | |||
| 07afa116af | |||
| 591f41dc70 | |||
| 0ba225f068 | |||
| f030cc3551 | |||
| 4aaef8b6aa | |||
| 19d1d1f116 | |||
| fb6a81b5f6 | |||
| d63f4ba5ce | |||
| 8991f22ba9 | |||
| 14607fd8d5 | |||
| 2af157d383 | |||
| 901488149c | |||
| 26ddae7596 | |||
| 73114c36ee | |||
| 2d6dacf827 | |||
| 8bcb3f58aa | |||
| 7b2d2f66ae | |||
| d1e49656e9 | |||
| 30fc67c5d2 | |||
| 748837f65d | |||
| e296395a45 | |||
| 07421e022b | |||
| a97fe5d4ed | |||
| a557e854b6 | |||
| 713b576ba6 | |||
| ed2c37f015 | |||
| b67bfa402d | |||
| a5e2fb3a12 | |||
| 208a1cdce4 | |||
| 6ef3569c45 | |||
| 4f314b0d63 | |||
| d70199b9f9 | |||
| 986d29e8fa | |||
| e7dba9d6cf | |||
| f0f0290907 | |||
| 5e39ecd18a | |||
| 35a4f9ca59 | |||
| 747353dd85 | |||
| 9a93e2ea2d | |||
| 725ff25bd1 | |||
| 04578be157 | |||
| ad21604b73 | |||
| 8aa916a6c8 | |||
| 1015ee03ab | |||
| 01e12cca71 | |||
| 168673450a | |||
| 09d73813d0 | |||
| 78c689ad41 | |||
| c86190d24d | |||
| da4d43e606 | |||
| 356c50a084 | |||
| 7773ca104c | |||
| 2435aab189 | |||
| ad320cc176 | |||
| 5daa297e71 | |||
| b10f4a660b | |||
| ace6dc689d | |||
| 8d5d3c0a7b | |||
| f2d65ea05d | |||
| 73a3f2909a | |||
| 17995f89bd | |||
| 9e38527c0a | |||
| d00cf9aebc | |||
| 154f6c6e36 | |||
| 7f6fa9b26f | |||
| 9e73a5b2c3 | |||
| 318033e48b | |||
| 4eb33139f1 | |||
| 746e96a257 | |||
| 9d2a276dcf | |||
| dd6b2317ae | |||
| 2262b57181 | |||
| 70cd0cc022 | |||
| e7ac518df1 | |||
| d228382814 | |||
| f3b31a25fd | |||
| 617f6edee3 | |||
| f96fc25d8d | |||
| 47abeb959e | |||
| 9a0ee80c2e | |||
| f78b758f94 | |||
| 84053adeb5 | |||
| a9455812bc | |||
| 7b4fcbf5ec | |||
| 3e315b1575 | |||
| 15bb3ed996 | |||
| 423e518230 | |||
| 7c81092eb9 | |||
| cee53295c0 | |||
|
|
a57eead700 | ||
| ce82e0c235 | |||
| 2aa9150ad6 | |||
| 5ecf4197c1 | |||
| ec05d5a390 | |||
| 011cb80496 | |||
| a7d301d4cf | |||
| 3c01dbce2c | |||
| fef40443bd | |||
| 23862ca5e4 | |||
| 2a0a048bd5 | |||
| 7ba676448f | |||
| 1ecb0c552a | |||
| b7004eabbf | |||
| c8df368c28 | |||
| ce968ebcfb | |||
| d4e749b030 | |||
| 7861656711 | |||
| 47c02508ba | |||
| 178343a0b7 | |||
| 7b75acbd9b | |||
| 68c688c8cb | |||
| cc9959f7c7 | |||
| 137c22c9a2 | |||
| 7a1aaf662c | |||
| d1d4956936 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
||||
/.svn
|
||||
CMakeLists.txt.user*
|
||||
/release
|
||||
/build
|
||||
|
||||
8
.vscode/settings.json
vendored
Normal file
8
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"*.qs": "javascript",
|
||||
"*.tcc": "cpp",
|
||||
"unordered_map": "cpp",
|
||||
"vector": "cpp"
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,7 @@ set(CMAKE_MODULE_PATH
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cd_utils/cmake"
|
||||
)
|
||||
set(ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
set(SHSTKPROJECT 1)
|
||||
|
||||
include(QtWraps)
|
||||
include(SHSTKMacros)
|
||||
@@ -42,7 +43,7 @@ find_package(PIP REQUIRED)
|
||||
|
||||
if (NOT CROSSTOOLS)
|
||||
|
||||
find_qt(Core QUIET)
|
||||
qad_find_qt(Core QUIET)
|
||||
if (SOME_QT_FOUND)
|
||||
|
||||
add_subdirectory(qad)
|
||||
@@ -60,6 +61,6 @@ endif()
|
||||
|
||||
if(WIN32 AND SOME_QT_FOUND)
|
||||
foreach(_l ${PIP_MODULES} ${CD_MODULES})
|
||||
qt_install(TARGETS ${_l} RUNTIME DESTINATION QtBin)
|
||||
qad_install(TARGETS ${_l} RUNTIME DESTINATION QtBin)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
47
Jenkinsfile
vendored
47
Jenkinsfile
vendored
@@ -1,6 +1,6 @@
|
||||
def build_docker(name) {
|
||||
def image = "${name}-shstk"
|
||||
echo "Build image ${image}"
|
||||
def build_docker(name, release_dir) {
|
||||
def image_name = "${name}-shstk"
|
||||
echo "Build image ${image_name}"
|
||||
def pref = ""
|
||||
if (env.DOCKER_PREFIX) {
|
||||
pref = "--build-arg DOCKER_PREFIX=${env.DOCKER_PREFIX}/"
|
||||
@@ -10,15 +10,21 @@ def build_docker(name) {
|
||||
jobs = "${env.JOBS_COUNT}"
|
||||
}
|
||||
def args = "${pref} --build-arg LIBS_BUILD_NUMBER=${env.BUILD_NUMBER} --build-arg JOBS_COUNT=${jobs}"
|
||||
dir ("docker/${image}") {
|
||||
sh "docker build ${args} --no-cache -t ${image} ."
|
||||
dir ("docker/${image_name}") {
|
||||
sh "docker build ${args} --no-cache -t ${image_name} ."
|
||||
def diargs = "-v " + release_dir + ":/soft/release"
|
||||
docker.image(image_name).inside(diargs) {
|
||||
sh 'cp -vf /soft/shstk/release/* /soft/release/ || true'
|
||||
}
|
||||
return "\n - ${image}"
|
||||
}
|
||||
return "\n - ${image_name}"
|
||||
}
|
||||
node {
|
||||
stage("checkout") {
|
||||
checkout scm
|
||||
}
|
||||
def rel_dir = sh(script: "pwd", returnStdout: true).trim() + '/release'
|
||||
echo "Release to ${rel_dir}"
|
||||
def _envmap = [:]
|
||||
def _env = sh(script: "env", returnStdout: true).trim().split("\n")
|
||||
_env.each{ l ->
|
||||
@@ -27,36 +33,19 @@ node {
|
||||
def _v = l.substring(_ind + 1);
|
||||
_envmap["${_n}"] = "${_v}";
|
||||
}
|
||||
sh "mkdir -p ${rel_dir}"
|
||||
sh "rm -rvf ${rel_dir}"
|
||||
sh "mkdir -p ${rel_dir}"
|
||||
def _msg = "Built images:"
|
||||
def platforms = ['debian', 'osx', 'windows', 'android', 'pi']
|
||||
def platforms = ['debian', 'debian11', 'osx', 'windows', 'windows32', 'android', 'pi', 'ubuntu']
|
||||
for (int i = 0; i < platforms.size(); ++i) {
|
||||
if (_envmap["BUILD_${platforms[i]}"] == "1") {
|
||||
stage("${platforms[i]}-shstk") {
|
||||
_msg += build_docker("${platforms[i]}")
|
||||
_msg += build_docker("${platforms[i]}", rel_dir)
|
||||
}
|
||||
}
|
||||
}
|
||||
sh "docker system prune -f"
|
||||
archiveArtifacts 'release/*'
|
||||
echo "${_msg}"
|
||||
}
|
||||
pipeline {
|
||||
agent {
|
||||
label 'master'
|
||||
}
|
||||
stages {
|
||||
stage("PIP doc") {
|
||||
steps {
|
||||
checkout scm
|
||||
sh "rm -rf share"
|
||||
sh "rm -vf *.zip"
|
||||
sh "mkdir -p build"
|
||||
sh "cd build && cmake -DLOCAL=1 -DCMAKE_INSTALL_PREFIX=`pwd` ../"
|
||||
sh "cd build && make doc"
|
||||
sh "cd share/doc && zip -r ../../pip_doc.zip pip"
|
||||
sh "cp share/doc/pip/html/pip.qch ./"
|
||||
archiveArtifacts 'pip_doc.zip'
|
||||
archiveArtifacts 'pip.qch'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
81
README.md
81
README.md
@@ -2,9 +2,25 @@
|
||||
|
||||
## Introduction
|
||||
|
||||
This repo contains:
|
||||
SHS Toolkit is metaproject, that contains references to CMake, PIP, QAD, CD and QGLEngine.
|
||||
* CMake - many CMake helpers and wrappers
|
||||
* PIP - Platform-Independent Primitives, C++ libraries to solve many common tasks
|
||||
* QAD - Qt for Advanced Developers, many Qt-based widgets and helpers. Also provide Qt-Designer
|
||||
plugins.
|
||||
* CD - Control/Debug toolkit, PIP-based client-server library to simplify using coefficients
|
||||
and track some variables tasks. Also provide QAD-based pult.
|
||||
* QGLEngine - modern Qt/OpenGL-based 3D engine with PBR materials. Also provide GUI widgets
|
||||
to edit scene and "libassimp"-based files importer.
|
||||
|
||||
* PIP
|
||||
Each project provide Find*.cmake file with correct dependecies. So, if you call `find_package(CD)`
|
||||
then PIP and QAD will be found.
|
||||
|
||||
Each of there projects can be built separately, but this project help you to build all at once.
|
||||
|
||||
|
||||
After successfully install, you can use next CMake imported targets:
|
||||
|
||||
* PIP:
|
||||
* PIP - main library
|
||||
* PIP::USB - PIUSB (libusb)
|
||||
* PIP::Console - PIScreen
|
||||
@@ -13,34 +29,36 @@ This repo contains:
|
||||
* PIP::FFTW - FFT with libfftw3
|
||||
* PIP::OpenCL - PIP OpenCL bindings
|
||||
* PIP::IOUtils
|
||||
* PIP::Cloud
|
||||
* PIP::Cloud - PIP cloud IODevices
|
||||
* PIP::Lua - PIP Lua bindings
|
||||
* QAD - Qt for Advanced Developers:
|
||||
* QAD:
|
||||
* QAD::Utils
|
||||
* QAD::Widgets
|
||||
* QAD::Widgets - collection of extendent widgets
|
||||
* QAD::Application
|
||||
* QAD::Blockview
|
||||
* QAD::Graphic
|
||||
* QAD::SQLTable
|
||||
* QAD::TouchWidgets
|
||||
* QAD::Doc
|
||||
* QAD::Graphic - widget for realtime visualization and publication quality 1D/2D plots
|
||||
* QAD::SQLTable - widget for display and edit data based on SQL tables with relations
|
||||
* QAD::TouchWidgets - collection of widgets for touch screen interface
|
||||
* QAD::Doc - markdown helper for qt
|
||||
* QAD::PIQt - helpers to convert PIP <-> Qt types
|
||||
* QAD::PIQtUtils - Gui libraries and executables to edit PIConnection configs and watch PIIntrospection
|
||||
* qglview - old Qt-base OpenGL engine
|
||||
* qglengine - new Qt-base OpenGL engine
|
||||
*
|
||||
* QGLEngine:
|
||||
* QGLEngine::Core - 3d engine
|
||||
* QGLEngine::Widgets - qt widgets for manage 3d obects and materials
|
||||
* CD
|
||||
* CD:
|
||||
* CD::Core - PIP-based client/server library for read, transmit and use custom structures of coefficients
|
||||
* CD::Qt - Qt bindings to CDUtils and "CD Pult" executable - full-featured CD client
|
||||
|
||||
## Compile
|
||||
This repo can be compile with GCC/MinGW/Clang, for Qt 4/5.
|
||||
qglview - old Qt-base OpenGL engine, has no imported target, so you should link with "qglview4" or "qglview5"
|
||||
|
||||
If there is no Qt found, builds only PIP and cd_utils.
|
||||
## Compile
|
||||
This repo can be compiled with GCC/MinGW/Clang, for Qt 4/5.
|
||||
|
||||
If there is no Qt found, builds only PIP and CD.
|
||||
|
||||
CMake options:
|
||||
* **LIB** - if 1 then install to system directories: MinGW on Windows, /usr/local on Linux/MacOS, ${ANDROID_SYSTEM_LIBRARY_PATH} on Android. If 0 then install to ${CMAKE_INSTALL_PREFIX}. Enabled by default
|
||||
* **LOCAL** - if 0 then install to system directories: MinGW on Windows, /usr/local on Linux/MacOS, ${ANDROID_SYSTEM_LIBRARY_PATH} on Android. If 1 then install to ${CMAKE_INSTALL_PREFIX}. Disabled by default
|
||||
* **UTILS** - build or not executable utilites, enabled by default
|
||||
* **DESIGNER_PLUGINS** - build or not Qt Designer plugins, enabled by default
|
||||
* **QGLVIEW** - build or not QGLView, disabled by default
|
||||
@@ -48,31 +66,32 @@ CMake options:
|
||||
|
||||
## Windows scripts
|
||||
Build steps:
|
||||
1. unzip mingw.7z to C:\mingw
|
||||
2. unzip qt.7z to C:\qt
|
||||
3. download and install cmake from https://cmake.org/download/
|
||||
1. Unzip mingw.7z to C:\mingw
|
||||
2. Unzip qt.7z to C:\qt
|
||||
3. Download and install cmake from https://cmake.org/download/
|
||||
4. Prepare environment for x86 or amd64 architecture:
|
||||
- set prefix for mingw e.g.: for C:\mingw\8_1_x32\ or C:\mingw\8_1_x64\
|
||||
set SDK_MINGW_DIR=C:\mingw\7_1_x
|
||||
set SDK_MINGW_DIR=C:\mingw\8_1_x
|
||||
- set prefix for Qt5 e.g.: for C:\qt\qt5150_win32\ or C:\qt\qt5150_win64\
|
||||
set SDK_QT5_DIR=C:\qt\qt5150_win
|
||||
- set SDK_CMAKE_DIR=C:\cmake or C:\Program Files\CMake
|
||||
5. run make_shstk32.bat or make_shstk64.bat
|
||||
- set path to cmake directory
|
||||
set SDK_CMAKE_DIR=C:\cmake or C:\Program Files\CMake
|
||||
5. Run `make_shstk32.bat` or `make_shstk64.bat`
|
||||
|
||||
|
||||
Build steps for both architectures:
|
||||
-- follow previos steps, but on '5' state run make_libs_all.bat
|
||||
Build steps for both architectures: follow previous steps, but on '5' state run `make_shstk_all.bat`
|
||||
|
||||
## Non-Windows scripts
|
||||
Script "make_shstk.sh" compile and install SDK for current environment, e.g.
|
||||
`./make_shstk.sh -j4`
|
||||
Script "make_shstk.sh" compile and install toolkit for current environment, e.g. `./make_shstk.sh -j4`
|
||||
|
||||
## Docker
|
||||
This repo provide Dockerfile, e.q. so you can exec `docker build -t windows-shstk docker\windows-shstk`
|
||||
and make docker image "windows-shstk" with installed SHS SDK for Windows. Similar for other platforms.
|
||||
Dockerfile provide for platforms:
|
||||
This repo provide several Dockerfiles, so you can exec `docker build -t windows-shstk docker\windows-shstk`
|
||||
and make docker image "windows-shstk" with installed SHS Toolkit for Windows. Similar for other platforms.
|
||||
Dockerfile provides for next platforms:
|
||||
* Debian 10 (debian-shstk)
|
||||
* Debian 11 (debian11-shstk)
|
||||
* Ubuntu 20.04 (ubuntu-shstk)
|
||||
* Windows x32 (windows32-shstk)
|
||||
* Windows x64 (windows-shstk)
|
||||
* MacOS (osx-shstk)
|
||||
* Raspberry Pi raspbean (pi-shstk)
|
||||
* Raspberry Pi Raspbian (pi-shstk)
|
||||
* Android ndk 21 armeabi-v71, arm64-v8a, x86, x86_64 (android-shstk)
|
||||
|
||||
2
cd
2
cd
Submodule cd updated: b43350cb71...7a16d76753
2
cmake
2
cmake
Submodule cmake updated: 2f84d98a32...61699f2283
@@ -13,8 +13,8 @@ WORKDIR /soft
|
||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_host
|
||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& make install -j${JOBS_COUNT} \
|
||||
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
@@ -22,22 +22,24 @@ WORKDIR /soft/shstk_build_anroid
|
||||
ENV _ANDROID_TOOLCHAIN=/usr/lib/android-sdk/ndk-bundle/build/cmake/android.toolchain.cmake
|
||||
|
||||
ENV _CUR_ABI=armeabi-v7a
|
||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||
|
||||
ENV _CUR_ABI=arm64-v8a
|
||||
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||
|
||||
ENV _CUR_ABI=x86
|
||||
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||
|
||||
ENV _CUR_ABI=x86_64
|
||||
WORKDIR /soft/shstk_build_android_${_CUR_ABI}
|
||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/android/${_CUR_ABI} -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=${_ANDROID_TOOLCHAIN} -DQt5_DIR=/soft/android/qt/lib/cmake/Qt5 -DANDROID_PLATFORM=${NDK_PLATFORM} -DANDROID_ABI=${_CUR_ABI} ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} && rm -rf *
|
||||
|
||||
RUN mkdir -p /soft/shstk/release
|
||||
|
||||
WORKDIR /soft/src
|
||||
|
||||
@@ -9,8 +9,9 @@ WORKDIR /soft
|
||||
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_debian
|
||||
RUN cmake -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& make install -j${JOBS_COUNT} \
|
||||
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
|
||||
18
docker/debian11-shstk/Dockerfile
Normal file
18
docker/debian11-shstk/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
ARG DOCKER_PREFIX=wapmobil/
|
||||
FROM ${DOCKER_PREFIX}debian11
|
||||
|
||||
ARG LIBS_BUILD_NUMBER=9999
|
||||
ARG JOBS_COUNT=4
|
||||
ENV PATH=/opt/cmake/bin:$PATH
|
||||
|
||||
WORKDIR /soft
|
||||
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_debian
|
||||
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
WORKDIR /soft/src
|
||||
@@ -9,13 +9,15 @@ WORKDIR /soft
|
||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_host
|
||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& make install -j${JOBS_COUNT} \
|
||||
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
WORKDIR /soft/shstk_build_osx
|
||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/osx -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Darwin.cmake ../shstk/ \
|
||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/osx -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Darwin.cmake ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf *
|
||||
|
||||
WORKDIR /soft/src
|
||||
|
||||
@@ -9,13 +9,15 @@ WORKDIR /soft
|
||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_host
|
||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& make install -j${JOBS_COUNT} \
|
||||
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
WORKDIR /soft/shstk_build_pi
|
||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/pi/usr -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-RPi.cmake ../shstk/ \
|
||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/pi/usr -DICU=0 -DLOCAL=1 -DQGLENGINE=0 -DQGLVIEW=0 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-RPi.cmake ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf *
|
||||
|
||||
WORKDIR /soft/src
|
||||
|
||||
18
docker/ubuntu-shstk/Dockerfile
Normal file
18
docker/ubuntu-shstk/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
ARG DOCKER_PREFIX=wapmobil/
|
||||
FROM ${DOCKER_PREFIX}ubuntu
|
||||
|
||||
ARG LIBS_BUILD_NUMBER=9999
|
||||
ARG JOBS_COUNT=4
|
||||
ENV PATH=/opt/cmake/bin:$PATH
|
||||
|
||||
WORKDIR /soft
|
||||
RUN git clone -b master --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_ubuntu
|
||||
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=1 -DQGLVIEW=1 -DHAS_GL=0 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
WORKDIR /soft/src
|
||||
@@ -9,13 +9,15 @@ WORKDIR /soft
|
||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_host
|
||||
RUN cmake -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& make install -j${JOBS_COUNT} \
|
||||
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
WORKDIR /soft/shstk_build_windows
|
||||
RUN cmake -DCMAKE_INSTALL_PREFIX=/soft/windows -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows.cmake ../shstk/ \
|
||||
&& make install -j${JOBS_COUNT} && rm -rf *
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/windows -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows.cmake ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf *
|
||||
|
||||
WORKDIR /soft/src
|
||||
|
||||
23
docker/windows32-shstk/Dockerfile
Normal file
23
docker/windows32-shstk/Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
ARG DOCKER_PREFIX=wapmobil/
|
||||
FROM ${DOCKER_PREFIX}windows32
|
||||
|
||||
ARG LIBS_BUILD_NUMBER=9999
|
||||
ARG JOBS_COUNT=4
|
||||
ENV PATH=/opt/cmake/bin:$PATH
|
||||
|
||||
WORKDIR /soft
|
||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_host
|
||||
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
WORKDIR /soft/shstk_build_windows32
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/windows32 -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain-Windows32.cmake ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf *
|
||||
|
||||
WORKDIR /soft/src
|
||||
@@ -5,11 +5,11 @@ if defined SDK_JOBS_COUNT (
|
||||
) else (
|
||||
set JOBS_COUNT=4
|
||||
)
|
||||
set PATH=%SDK_MINGW_DIR%%ARCH%\bin;%SDK_QT4_DIR%%ARCH%\bin;%SDK_CMAKE_DIR%\bin
|
||||
set PATH=%SDK_MINGW_DIR%%ARCH%\bin;%SDK_CMAKE_DIR%\bin
|
||||
if defined SDK_QT5_DIR set Qt5_DIR=%SDK_QT5_DIR%%ARCH%
|
||||
if not exist ..\shstk_build_win%ARCH% mkdir ..\shstk_build_win%ARCH%
|
||||
cd ..\shstk_build_win%ARCH% && ^
|
||||
cmake_mgw -DQGLVIEW=1 -DQGLENGINE=1 -DQT4=0 ../shstk && ^
|
||||
cmake -G "MinGW Makefiles" -DQGLVIEW=1 -DQGLENGINE=1 -DQT4=0 ../shstk && ^
|
||||
make install -j%JOBS_COUNT% && ^
|
||||
cd ..\shstk && ^
|
||||
pause
|
||||
|
||||
2
make_shstk.sh
Normal file → Executable file
2
make_shstk.sh
Normal file → Executable file
@@ -2,5 +2,5 @@
|
||||
cd ..
|
||||
mkdir shstk_build_linux
|
||||
cd shstk_build_linux
|
||||
cmake ../shstk
|
||||
cmake -DQGLVIEW=1 -DQGLENGINE=1 -DQT4=0 ../shstk
|
||||
make install $@
|
||||
|
||||
2
pip
2
pip
Submodule pip updated: b11ebc8100...28ce6e8f3f
2
qad
2
qad
Submodule qad updated: d96c99f79d...4c0e61fdb6
Submodule qglengine updated: 07d27ff397...37e2b236f5
18
requirements.txt
Normal file
18
requirements.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
libicu-dev
|
||||
libfftw3-dev
|
||||
libsodium-dev
|
||||
libassimp-dev
|
||||
libmarkdown2-dev
|
||||
ocl-icd-opencl-dev
|
||||
zlib1g-dev
|
||||
qtbase5-dev-tools
|
||||
qttools5-dev
|
||||
qtscript5-dev
|
||||
qtdeclarative5-dev
|
||||
qtpositioning5-dev
|
||||
libqt5datavisualization5-dev
|
||||
qt5-default
|
||||
libglew-dev
|
||||
liblua5.3-dev
|
||||
|
||||
apt install libicu-dev libfftw3-dev libsodium-dev libassimp-dev libmarkdown2-dev ocl-icd-opencl-dev zlib1g-dev qtbase5-dev-tools qttools5-dev qtscript5-dev qtdeclarative5-dev qtpositioning5-dev libqt5datavisualization5-dev qt5-default libglew-dev liblua5.3-dev
|
||||
2
submodules_revert.sh
Normal file
2
submodules_revert.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
git submodule deinit --all -f
|
||||
git submodule update --recursive --init
|
||||
Reference in New Issue
Block a user