From 4e1f50035e860a00636ca5d804c267119df99601 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sun, 11 Aug 2013 04:09:45 +0200 Subject: Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu --- src/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a1fcdd965..18cdaa725 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -267,12 +267,11 @@ set(common_SRCS base64.cpp ban.cpp biome.cpp - clientserver.cpp staticobject.cpp serverlist.cpp pathfinder.cpp convert_json.cpp - ${SCRIPT_SRCS} + ${common_SCRIPT_SRCS} ${UTIL_SRCS} ) @@ -329,9 +328,9 @@ set(minetest_SRCS game.cpp main.cpp guiEngine.cpp - guiLuaApi.cpp guiFileSelectMenu.cpp convert_json.cpp + ${minetest_SCRIPT_SRCS} ) if(USE_FREETYPE) @@ -341,11 +340,14 @@ if(USE_FREETYPE) ) endif(USE_FREETYPE) +list(SORT minetest_SRCS) + # Server sources set(minetestserver_SRCS ${common_SRCS} main.cpp ) +list(SORT minetestserver_SRCS) include_directories( ${PROJECT_BINARY_DIR} -- cgit v1.2.3