Skip to content

Commit 032db98

Browse files
authored
Merge pull request #76 from Debashis08/release
Release
2 parents d27c258 + 6df169f commit 032db98

File tree

93 files changed

+86
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+86
-74
lines changed

.clang-tidy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Checks: >
33
44
WarningsAsErrors: '*'
55

6-
HeaderFilterRegex: '(Headers/.*|SourceCodes/.*)'
6+
HeaderFilterRegex: '(include/.*|source/.*)'
77

88
CheckOptions:
99
# Private member variables
@@ -24,4 +24,4 @@ CheckOptions:
2424
- key: readability-identifier-naming.IgnoreFailures
2525
value: false
2626
- key: readability-identifier-naming.IgnoreFailedSplit
27-
value: false
27+
value: false

.github/workflows/datastructures-algorithms-ci-cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Run clang-tidy
2626
run: |
27-
find Headers -name '*.h' -o -name '*.hpp' ; find SourceCodes -name '*.cpp' -o -name '*.cc' -o -name '*.cxx' | \
27+
find include -name '*.h' -o -name '*.hpp' ; find source -name '*.cpp' -o -name '*.cc' -o -name '*.cxx' | \
2828
xargs clang-tidy -p build --warnings-as-errors=*
2929
3030
- name: Build

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.vs/
2-
Build/
2+
build/
3+
install/

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
66
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
77

88

9-
# .clang-tidy settp
9+
# .clang-tidy setup
1010
find_program(CLANG_TIDY_EXE NAMES "clang-tidy")
1111
if(CLANG_TIDY_EXE)
1212
message(STATUS "clang-tidy found: ${CLANG_TIDY_EXE}")
13-
set(CMAKE_CXX_CLANG_TIDY
13+
set(CLANG_TIDY_COMMAND
1414
"${CLANG_TIDY_EXE}"
1515
"--config-file=${CMAKE_SOURCE_DIR}/.clang-tidy"
1616
"--extra-arg-before=-Wno-unknown-warning-option"
@@ -19,10 +19,10 @@ if(CLANG_TIDY_EXE)
1919
)
2020
endif()
2121

22-
include_directories(${CMAKE_SOURCE_DIR}/Headers)
22+
include_directories(${CMAKE_SOURCE_DIR}/include)
2323

24-
add_subdirectory(Headers)
25-
add_subdirectory(SourceCodes)
24+
add_subdirectory(include)
25+
add_subdirectory(source)
2626

2727
cmake_policy(SET CMP0135 NEW)
2828
include(FetchContent)
@@ -36,4 +36,4 @@ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
3636

3737
enable_testing()
3838

39-
add_subdirectory(Tests)
39+
add_subdirectory(test)

CMakePresets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"name": "windows-base",
66
"hidden": true,
77
"generator": "Ninja",
8-
"binaryDir": "${sourceDir}/Build/build/${presetName}",
9-
"installDir": "${sourceDir}/Build/install/${presetName}",
8+
"binaryDir": "${sourceDir}/build/${presetName}",
9+
"installDir": "${sourceDir}/install/${presetName}",
1010
"cacheVariables": {
1111
"CMAKE_C_COMPILER": "gcc",
1212
"CMAKE_CXX_COMPILER": "g++"

README.md

Lines changed: 3 additions & 3 deletions

SourceCodes/0001_Basics/Node.cc

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)