Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ Checks: '
-google-readability-todo,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-avoid-do-while,
-llvm-namespace-comment,
-readability-implicit-bool-conversion,
-google-explicit-constructor,
-abseil-string-find-str-contains,
-readability-avoid-return-with-void-value,
-readability-convert-member-functions-to-static,
-misc-use-anonymous-namespace,

-llvm-else-after-return,
-readability-else-after-return,
-google-readability-braces-around-statements,
-google-readability-namespace-comments,
-hicpp-special-member-functions,
Expand Down
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Author Francois Michaut
##
## Started on Sat Jan 15 01:19:13 2022 Francois Michaut
## Last update Sun Aug 24 18:59:20 2025 Francois Michaut
## Last update Fri Jun 12 01:02:32 2026 Francois Michaut
##
## CMakeLists.txt : Top level CMake
##
Expand All @@ -30,7 +30,7 @@ endif()
project(FileShare VERSION 0.1.0 LANGUAGES C CXX)
configure_file(include/FileShareVersion.hpp.in FileShareVersion.hpp)

add_subdirectory(dependencies)
add_subdirectory(dependencies EXCLUDE_FROM_ALL)

include_directories(
"${CMAKE_CURRENT_BINARY_DIR}" # For the configured Version file
Expand Down Expand Up @@ -89,6 +89,7 @@ if (BUILD_CLI)
add_executable(file-share-cli
source/cli/main.cpp
source/cli/interactive.cpp
source/cli/utils.cpp
)

target_compile_definitions(file-share-cli PRIVATE _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64)
Expand Down
6 changes: 3 additions & 3 deletions dependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Author Francois Michaut
##
## Started on Wed Jul 10 10:27:39 2024 Francois Michaut
## Last update Sun Aug 24 20:34:12 2025 Francois Michaut
## Last update Sat Jun 20 10:49:33 2026 Francois Michaut
##
## CMakeLists.txt : CMake to fetch and build the dependecies of the FileShare executable
##
Expand All @@ -14,7 +14,7 @@ include(FetchContent)
FetchContent_Declare(
argparse
GIT_REPOSITORY https://github.com/p-ranav/argparse.git
GIT_TAG af442b4da0cd7a07b56fa709bd16571889dc7fda
GIT_TAG 3eda91b2e1ce7d569f84ba295507c4cd8fd96910
)
FetchContent_Declare(
SFML
Expand All @@ -40,7 +40,7 @@ FetchContent_Declare(
FetchContent_Declare(
fsp
GIT_REPOSITORY https://github.com/FileShare-Project/libfsp.git
GIT_TAG 822ed4ce6ad4229652b5b4269ff70fbf845ea1ed
GIT_TAG 5c02001451f5d611a5ba205fc6252e0ae1f2f9a6
)

FetchContent_MakeAvailable(fsp argparse SFML sqlite_orm tgui)
Loading
Loading