feat(CI/Codestyle): added codestyle check (#3668)

This commit is contained in:
Kargatum
2021-01-09 17:59:50 +07:00
committed by GitHub
parent 57aa46244d
commit ea93a5c1a1
400 changed files with 238 additions and 748 deletions

View File

@@ -29,7 +29,6 @@ MACRO(AC_ADD_SCRIPT_LOADER script_dec include)
CU_ADD_GLOBAL("AC_ADD_SCRIPTS_LIST" "Add${script_dec}Scripts()\;")
endif()
if (NOT ${include} STREQUAL "")
CU_GET_GLOBAL("AC_ADD_SCRIPTS_INCLUDE")
if (NOT ";${AC_ADD_SCRIPTS_INCLUDE};" MATCHES ";${include};")

View File

@@ -96,7 +96,7 @@ if(NOT WITH_WARNINGS)
/wd4267
/wd4619
# /wd4512
)
)
message(STATUS "MSVC: Disabled generic compiletime warnings")
endif()
endif()

View File

@@ -1,4 +1,4 @@
# Copyright (C)
# Copyright (C)
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without

View File

@@ -58,7 +58,6 @@
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
MACRO(NORMALIZE_VERSION _requested_version _normalized_version)
STRING(REGEX MATCH "[^0-9]*[0-9]+\\.[0-9]+\\.[0-9]+.*" _threePartMatch "${_requested_version}")
if (_threePartMatch)

View File

@@ -1,6 +1,6 @@
#
# Find the MySQL client includes and library
#
#
# This module defines
# MYSQL_INCLUDE_DIR, where to find mysql.h
@@ -160,7 +160,7 @@ find_path(MYSQL_INCLUDE_DIR
if( UNIX )
foreach(LIB ${MYSQL_ADD_LIBRARIES})
find_library( MYSQL_LIBRARY
find_library( MYSQL_LIBRARY
NAMES
mysql libmysql ${LIB}
PATHS
@@ -176,7 +176,7 @@ if( UNIX )
endif( UNIX )
if( WIN32 )
find_library( MYSQL_LIBRARY
find_library( MYSQL_LIBRARY
NAMES
libmysql
PATHS

View File

@@ -182,7 +182,7 @@ ENDIF(WIN32 AND NOT CYGWIN)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OpenSSL DEFAULT_MSG
OPENSSL_LIBRARIES
OPENSSL_LIBRARIES
OPENSSL_INCLUDE_DIR
)

View File

@@ -2,4 +2,3 @@
if( PREFIX )
set(CMAKE_INSTALL_PREFIX "${PREFIX}")
endif()

View File

@@ -145,4 +145,3 @@ else()
endif()
message("")