Skip to content

Commit 6b51c17

Browse files
authored
Merge pull request #119 from ModOrganizer2/dev/fix-vs-solution
Add headers to target to show them in VS.
2 parents 9ebabac + a4213dd commit 6b51c17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
cmake_minimum_required(VERSION 3.16)
22

33
file(GLOB_RECURSE source_files *.cpp)
4-
file(GLOB RECURSE header_files *.h)
4+
file(GLOB_RECURSE header_files *.h)
55

6-
add_executable(mob ${source_files})
6+
add_executable(mob ${source_files} ${header_files})
77
set_target_properties(mob PROPERTIES CXX_STANDARD 20)
88

99
target_compile_definitions(mob PUBLIC NOMINMAX)

0 commit comments

Comments
 (0)