Merge pull request #119 from ModOrganizer2/dev/fix-vs-solution

Add headers to target to show them in VS.
This commit is contained in:
Mikaël Capelle
2023-09-19 18:24:55 +02:00
committed by GitHub
+2 -2
View File
@@ -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)