From 1271d6bc9228d90418371f3f0484bd36fbbdd546 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Tue, 23 Dec 2014 01:23:30 +0100 Subject: [PATCH] Added Method source group --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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}