Skip to content

Commit 819e80f

Browse files
committed
feat: update CMakeLists.txt to include all header files too
1 parent e830880 commit 819e80f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiled_starters/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ project(sqlite-starter-cpp)
44

55
set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
66

7-
file(GLOB_RECURSE SOURCE_FILES src/*.cpp)
7+
file(GLOB_RECURSE SOURCE_FILES src/*.cpp src/*.hpp)
88

99
add_executable(server ${SOURCE_FILES})

solutions/cpp/01-dr6/code/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ project(sqlite-starter-cpp)
44

55
set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
66

7-
file(GLOB_RECURSE SOURCE_FILES src/*.cpp)
7+
file(GLOB_RECURSE SOURCE_FILES src/*.cpp src/*.hpp)
88

99
add_executable(server ${SOURCE_FILES})

starter_templates/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ project(sqlite-starter-cpp)
44

55
set(CMAKE_CXX_STANDARD 23) # Enable the C++23 standard
66

7-
file(GLOB_RECURSE SOURCE_FILES src/*.cpp)
7+
file(GLOB_RECURSE SOURCE_FILES src/*.cpp src/*.hpp)
88

99
add_executable(server ${SOURCE_FILES})

0 commit comments

Comments
 (0)