mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
pngminus: Add .editorconfig file; update the CMake file
This commit is contained in:
29
contrib/pngminus/.editorconfig
Normal file
29
contrib/pngminus/.editorconfig
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# https://editorconfig.org
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = unset
|
||||||
|
indent_size = unset
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
max_doc_length = 79
|
||||||
|
max_line_length = 79
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.[ch]]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[CMakeLists.txt]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
max_doc_length = 79
|
||||||
|
max_line_length = 99
|
||||||
|
|
||||||
|
[{Makefile,makevms.com}]
|
||||||
|
indent_size = unset
|
||||||
|
indent_style = unset
|
||||||
|
max_doc_length = 79
|
||||||
|
max_line_length = 99
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
# Copyright (c) 2018-2024 Cosmin Truta
|
# Copyright (c) 2018-2025 Cosmin Truta
|
||||||
#
|
#
|
||||||
# This software is released under the MIT license. For conditions of
|
# This software is released under the MIT license. For conditions of
|
||||||
# distribution and use, see the LICENSE file part of this package.
|
# distribution and use, see the LICENSE file part of this package.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.5)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
project(PNGMINUS C)
|
project(PNGMINUS C)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user