Add headers to target to show them in VS.

This commit is contained in:
Mikaël Capelle
2023-09-19 18:24:19 +02:00
parent 9ebabacc32
commit a4213dd4c6
+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)