Skip to content

Commit

Permalink
Merge pull request #201 from codecrafters-io/CC-1236
Browse files Browse the repository at this point in the history
CC-1236: Use GLOB_RECURSE in CMakeLists.txt for cpp repos
  • Loading branch information
ryan-gang committed May 27, 2024
2 parents 9e6fe04 + f52fa12 commit 7667a49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiled_starters/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)

project(redis-starter-cpp)

set(SOURCE_FILES src/Server.cpp)
file(GLOB_RECURSE SOURCE_FILES src/*.cpp)

set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
set(THREADS_PREFER_PTHREAD_FLAG ON)
Expand Down
2 changes: 1 addition & 1 deletion solutions/cpp/01-jm1/code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)

project(redis-starter-cpp)

set(SOURCE_FILES src/Server.cpp)
file(GLOB_RECURSE SOURCE_FILES src/*.cpp)

set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
set(THREADS_PREFER_PTHREAD_FLAG ON)
Expand Down
2 changes: 1 addition & 1 deletion starter_templates/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)

project(redis-starter-cpp)

set(SOURCE_FILES src/Server.cpp)
file(GLOB_RECURSE SOURCE_FILES src/*.cpp)

set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
set(THREADS_PREFER_PTHREAD_FLAG ON)
Expand Down

0 comments on commit 7667a49

Please sign in to comment.