Skip to content

Commit 10c2e49

Browse files
committed
chore: convert indentation from tabs to spaces
1 parent 7a95ca1 commit 10c2e49

30 files changed

+8518
-8512
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SpacesInCStyleCastParentheses: false
3535
SpacesInParentheses: true
3636
SpacesInSquareBrackets: false
3737
TabWidth: 4
38-
UseTab: true
38+
UseTab: false
3939
KeepEmptyLines:
4040
AtStartOfBlock: false
4141
AtStartOfFile: false

.editorconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
# C++ specific settings
44
[*.{cpp,hpp,h,cc,cxx,inl}]
5-
indent_style = tab
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
9+
# CMake files
10+
[{CMakeLists.txt,*.cmake}]
11+
indent_style = space
612
indent_size = 4
713
end_of_line = lf

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ALL_BUILD.vcxproj*
1818
ZERO_CHECK.vcxproj*
1919
RUN_TESTS.vcxproj*
2020
TESTS_*.vcxproj*
21+
.qtcreator
2122

2223
# cpp build directory
2324
build/

CMakeLists.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
cmake_minimum_required(VERSION 3.20)
1010

1111
project(nfx-datetime
12-
VERSION 0.1.1
13-
DESCRIPTION "Cross-platform C++ DateTime library with 100-nanosecond precision and ISO 8601 support"
14-
HOMEPAGE_URL "https://github.com/nfx-libs/nfx-datetime"
15-
LANGUAGES CXX
12+
VERSION 0.1.1
13+
DESCRIPTION "Cross-platform C++ DateTime library with 100-nanosecond precision and ISO 8601 support"
14+
HOMEPAGE_URL "https://github.com/nfx-libs/nfx-datetime"
15+
LANGUAGES CXX
1616
)
1717

1818
#----------------------------------------------
@@ -35,24 +35,24 @@ enable_testing()
3535
#----------------------------------------------
3636

3737
# --- Library build types ---
38-
option(NFX_DATETIME_BUILD_STATIC "Build static library" OFF )
39-
option(NFX_DATETIME_BUILD_SHARED "Build shared library" OFF )
38+
option(NFX_DATETIME_BUILD_STATIC "Build static library" ON)
39+
option(NFX_DATETIME_BUILD_SHARED "Build shared library" OFF)
4040

4141
# --- Build components ---
42-
option(NFX_DATETIME_BUILD_TESTS "Build tests" OFF )
43-
option(NFX_DATETIME_BUILD_SAMPLES "Build samples" OFF )
44-
option(NFX_DATETIME_BUILD_BENCHMARKS "Build benchmarks" OFF )
45-
option(NFX_DATETIME_BUILD_DOCUMENTATION "Build Doxygen documentation" OFF )
42+
option(NFX_DATETIME_BUILD_TESTS "Build tests" OFF)
43+
option(NFX_DATETIME_BUILD_SAMPLES "Build samples" OFF)
44+
option(NFX_DATETIME_BUILD_BENCHMARKS "Build benchmarks" OFF)
45+
option(NFX_DATETIME_BUILD_DOCUMENTATION "Build Doxygen documentation" OFF)
4646

4747
# --- Installation ---
48-
option(NFX_DATETIME_INSTALL_PROJECT "Install project" OFF )
48+
option(NFX_DATETIME_INSTALL_PROJECT "Install project" OFF)
4949

5050
# --- Packaging ---
51-
option(NFX_DATETIME_PACKAGE_SOURCE "Enable source package generation" OFF )
52-
option(NFX_DATETIME_PACKAGE_ARCHIVE "Enable TGZ/ZIP package generation" OFF )
53-
option(NFX_DATETIME_PACKAGE_DEB "Enable DEB package generation" OFF )
54-
option(NFX_DATETIME_PACKAGE_RPM "Enable RPM package generation" OFF )
55-
option(NFX_DATETIME_PACKAGE_WIX "Enable WiX Windows installer (MSI)" OFF )
51+
option(NFX_DATETIME_PACKAGE_SOURCE "Enable source package generation" OFF)
52+
option(NFX_DATETIME_PACKAGE_ARCHIVE "Enable TGZ/ZIP package generation" OFF)
53+
option(NFX_DATETIME_PACKAGE_DEB "Enable DEB package generation" OFF)
54+
option(NFX_DATETIME_PACKAGE_RPM "Enable RPM package generation" OFF)
55+
option(NFX_DATETIME_PACKAGE_WIX "Enable WiX Windows installer (MSI)" OFF)
5656

5757
#----------------------------------------------
5858
# CMake modules configuration

0 commit comments

Comments
 (0)