Skip to content

Commit

Permalink
Merge pull request #119 from ModOrganizer2/dev/fix-vs-solution
Browse files Browse the repository at this point in the history
Add headers to target to show them in VS.
  • Loading branch information
Holt59 authored Sep 19, 2023
2 parents 9ebabac + a4213dd commit 6b51c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.16)

file(GLOB_RECURSE source_files *.cpp)
file(GLOB RECURSE header_files *.h)
file(GLOB_RECURSE header_files *.h)

add_executable(mob ${source_files})
add_executable(mob ${source_files} ${header_files})
set_target_properties(mob PROPERTIES CXX_STANDARD 20)

target_compile_definitions(mob PUBLIC NOMINMAX)
Expand Down

0 comments on commit 6b51c17

Please sign in to comment.