diff --git a/CMakeLists.txt b/CMakeLists.txt index ade31f2..aa0811a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,13 @@ if ( USE_COREPCH ) include_directories(${CMAKE_SOURCE_DIR}) endif () +# Iterates through all the source files and adds them to the solution file(GLOB sources_localdir *.cpp *.h) +# Adds all the method headers to its own source group +file(GLOB method_headers *Methods.h) +source_group("Methods" FILES ${method_headers}) + set(LuaEngine_STAT_SRCS ${LuaEngine_STAT_SRCS} ${sources_localdir}