From 6cdc990884b03395cfddf5afe699a76aa491e7e3 Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Tue, 10 Dec 2013 21:39:20 +0000 Subject: more cmake --- src/WorldStorage/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/WorldStorage/CMakeLists.txt (limited to 'src/WorldStorage/CMakeLists.txt') diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt new file mode 100644 index 000000000..5b3e1df54 --- /dev/null +++ b/src/WorldStorage/CMakeLists.txt @@ -0,0 +1,7 @@ + +cmake_minimum_required (VERSION 2.6) +project (MCServer) + +include_directories ("${PROJECT_SOURCE_DIR}/../") + +add_library(WorldStorage WorldStorage) -- cgit v1.2.3 From d5866a097822bdb9f0f51d10033678b4602364db Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Tue, 10 Dec 2013 23:18:26 +0000 Subject: moved Worldstorage to globs --- src/WorldStorage/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/WorldStorage/CMakeLists.txt') diff --git a/src/WorldStorage/CMakeLists.txt b/src/WorldStorage/CMakeLists.txt index 5b3e1df54..d431bdf6a 100644 --- a/src/WorldStorage/CMakeLists.txt +++ b/src/WorldStorage/CMakeLists.txt @@ -4,4 +4,8 @@ project (MCServer) include_directories ("${PROJECT_SOURCE_DIR}/../") -add_library(WorldStorage WorldStorage) +file(GLOB SOURCE + "*.cpp" +) + +add_library(WorldStorage ${SOURCE}) -- cgit v1.2.3