Merge branch 'master' of gitlab.2:f1x1t/myxlib
This commit is contained in:
commit
4706efc8c8
@ -36,9 +36,12 @@ variables:
|
||||
- cd build
|
||||
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_output -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rtis ..
|
||||
- ninja
|
||||
- ninja install
|
||||
- ninja package
|
||||
- ninja package_source
|
||||
- >
|
||||
if [ -z "${CI_SHARED_ENVIRONMENT+x}" ]; then
|
||||
ninja install
|
||||
ninja package
|
||||
ninja package_source
|
||||
fi
|
||||
- echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status"
|
||||
artifacts:
|
||||
paths:
|
||||
@ -66,11 +69,4 @@ variables:
|
||||
.scheduled-elbrus:
|
||||
extends: .scheduled-test
|
||||
tags: ['elbrus']
|
||||
variables:
|
||||
CI_QTDIR: "/opt/qt59"
|
||||
before_script:
|
||||
- export QTDIR=$CI_QTDIR
|
||||
- export PATH="$CI_QTDIR/bin:$PATH"
|
||||
- export LD_LIBRARY_PATH="$CI_QTDIR/lib:$LD_LIBRARY_PATH"
|
||||
- export PKG_CONFIG_PATH="$CI_QTDIR/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 36073091bc042af1ef1f7324d26c503bce3ac148
|
||||
Subproject commit 9002b99e3ec498c0cd431a985807b1df81590cd0
|
@ -1 +1 @@
|
||||
Subproject commit 8b08ebee41cab2c632736e5ac137f05acfb64766
|
||||
Subproject commit 45284f97623b7ae952020771846ccfe2e0a3cf58
|
@ -1 +1 @@
|
||||
Subproject commit af57d3921c4d944f8475090f42b034518f7c0bc7
|
||||
Subproject commit d0bc6e71e9c613eaaecca62eaf445d647f5216ed
|
@ -16,9 +16,11 @@ common_target_properties(${current_target})
|
||||
add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
add_dependencies(${current_target} base)
|
||||
add_dependencies(${current_target} filesystem)
|
||||
|
||||
|
@ -16,9 +16,11 @@ common_target_properties(${current_target})
|
||||
add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
add_dependencies(${current_target} base)
|
||||
add_dependencies(${current_target} log)
|
||||
|
||||
|
@ -16,9 +16,11 @@ common_target_properties(${current_target})
|
||||
add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
add_dependencies(${current_target} base)
|
||||
add_dependencies(${current_target} log)
|
||||
|
||||
|
@ -16,9 +16,11 @@ common_target_properties(${current_target})
|
||||
add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
add_dependencies(${current_target} base)
|
||||
add_dependencies(${current_target} qt)
|
||||
|
||||
|
@ -17,7 +17,9 @@ add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
target_include_directories(${current_target} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||
|
||||
|
@ -22,7 +22,9 @@ add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
target_include_directories(${current_target} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||
target_include_directories(${current_target} SYSTEM PUBLIC ${FMT_INCLUDE_DIRS})
|
||||
|
@ -211,9 +211,9 @@ bool Paths::makeDefaultDirectories()
|
||||
{
|
||||
bool status = true;
|
||||
|
||||
if ( !m_dataDirectory.mkpath( m_dataDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_dataDirectory.mkpath( m_dataDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_configDirectory.mkpath( m_configDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_cacheDirectory.mkpath( m_cacheDirectory.absolutePath() ) ) { status = false; }
|
||||
if ( !m_cacheDirectory.mkpath( m_cacheDirectory.absolutePath() ) ) { status = false; }
|
||||
return( status );
|
||||
}
|
||||
|
||||
|
@ -68,9 +68,7 @@ int getExecutablePath( char* out, int capacity, int* dirname_length )
|
||||
|
||||
if ( dirname_length )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = length - 1; i >= 0; --i )
|
||||
for ( int i = length - 1; i >= 0; --i )
|
||||
{
|
||||
if ( out[i] == '/' )
|
||||
{
|
||||
@ -156,9 +154,7 @@ int getModulePath( char* out, int capacity, int* dirname_length )
|
||||
|
||||
if ( dirname_length )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = length - 1; i >= 0; --i )
|
||||
for ( int i = length - 1; i >= 0; --i )
|
||||
{
|
||||
if ( out[i] == '/' )
|
||||
{
|
||||
|
@ -20,7 +20,9 @@ add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
target_include_directories(${current_target} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||
target_include_directories(${current_target} SYSTEM PUBLIC ${FMT_INCLUDE_DIRS})
|
||||
|
@ -16,7 +16,9 @@ add_clang_tidy_check(${current_target} ${current_target_sources})
|
||||
add_clang_analyze_check(${current_target} ${current_target_sources})
|
||||
add_clazy_check(${current_target} ${current_target_sources})
|
||||
add_pvs_check(${current_target})
|
||||
add_uncrustify_format(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
# Форматирование исходников
|
||||
add_format_sources(${current_target} ${current_target_sources} ${current_target_headers})
|
||||
|
||||
target_include_directories(${current_target} SYSTEM PUBLIC ${Qt5Core_INCLUDE_DIRS})
|
||||
target_include_directories(${current_target} SYSTEM PUBLIC ${FMT_INCLUDE_DIRS})
|
||||
|
@ -19,7 +19,12 @@ struct QOverload
|
||||
|
||||
// this adds const to non-const objects (like std::as_const)
|
||||
template < typename T >
|
||||
Q_DECL_CONSTEXPR typename std::add_const< T >::type& qAsConst( T& t ) noexcept { return( t ); }
|
||||
Q_DECL_CONSTEXPR typename std::add_const< T >::type& qAsConst( T& t ) noexcept
|
||||
{
|
||||
return( t );
|
||||
}
|
||||
|
||||
|
||||
// prevent rvalue arguments:
|
||||
template < typename T >
|
||||
void qAsConst( const T&& ) = delete;
|
||||
|
Loading…
Reference in New Issue
Block a user