summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-01-19 21:50:07 +0100
committerTycho <work.tycho+git@gmail.com>2014-01-19 21:50:07 +0100
commit2aa28ad6f453f65bdbf682a62ffae26fcecaa437 (patch)
tree025487eb90ab35203786c5e5caa351904b9a1e13 /Tools
parentSwitched EnchantmentSerilizer to namespace (diff)
downloadcuberite-2aa28ad6f453f65bdbf682a62ffae26fcecaa437.tar
cuberite-2aa28ad6f453f65bdbf682a62ffae26fcecaa437.tar.gz
cuberite-2aa28ad6f453f65bdbf682a62ffae26fcecaa437.tar.bz2
cuberite-2aa28ad6f453f65bdbf682a62ffae26fcecaa437.tar.lz
cuberite-2aa28ad6f453f65bdbf682a62ffae26fcecaa437.tar.xz
cuberite-2aa28ad6f453f65bdbf682a62ffae26fcecaa437.tar.zst
cuberite-2aa28ad6f453f65bdbf682a62ffae26fcecaa437.zip
Diffstat (limited to 'Tools')
-rw-r--r--Tools/GeneratorPerformanceTest/CMakeLists.txt12
-rw-r--r--Tools/GeneratorPerformanceTest/GeneratorPerformanceTest.cpp7
2 files changed, 19 insertions, 0 deletions
diff --git a/Tools/GeneratorPerformanceTest/CMakeLists.txt b/Tools/GeneratorPerformanceTest/CMakeLists.txt
new file mode 100644
index 000000000..8adc88882
--- /dev/null
+++ b/Tools/GeneratorPerformanceTest/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+cmake_minimum_required(VERSION 2.8)
+project(GeneratorPerformanceTest)
+
+include_directories(../../src/Generating)
+include_directories(../../src)
+include_directories(../../lib)
+
+add_executable(GeneratorPerformanceTest GeneratorPerformanceTest.cpp ../../src/StringUtils ../../src/MCLogger ../../src/Log ../../src/BlockID ../../src/Noise ../../src/Enchantments ../../src/BlockArea)
+
+target_link_libraries(GeneratorPerformanceTest Generating)
+
diff --git a/Tools/GeneratorPerformanceTest/GeneratorPerformanceTest.cpp b/Tools/GeneratorPerformanceTest/GeneratorPerformanceTest.cpp
new file mode 100644
index 000000000..75d18149f
--- /dev/null
+++ b/Tools/GeneratorPerformanceTest/GeneratorPerformanceTest.cpp
@@ -0,0 +1,7 @@
+
+#include "Globals.h"
+#include "ChunkGenerator.h"
+
+int main(int argc, char * argv[]) {
+ cChunkGenerator Generator = cChunkGenerator();
+}