diff --git a/.gitignore b/.gitignore index 782c330..351a8c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ colors.h colors.txt -minetest_mapper +minetestmapper CMakeCache.txt CMakeFiles/ Makefile diff --git a/CMakeLists.txt b/CMakeLists.txt index 304783e..9083a83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,13 +68,13 @@ set(mapper_SRCS mapper.cpp ) -add_executable(minetest_mapper +add_executable(minetestmapper ${mapper_HDRS} ${mapper_SRCS} ) target_link_libraries( - minetest_mapper + minetestmapper ${LIBSQLITE3_LIBRARIES} gd z diff --git a/mapper.cpp b/mapper.cpp index 99b3b99..14c69fa 100644 --- a/mapper.cpp +++ b/mapper.cpp @@ -19,18 +19,18 @@ using namespace std; void usage() { - const char *usage_text = "minetestmapper.py [options]\n\ - -i/--input \n\ - -o/--output \n\ - --bgcolor \n\ - --scalecolor \n\ - --playercolor \n\ - --origincolor \n\ - --drawscale\n\ - --drawplayers\n\ - --draworigin\n\ - --geometry x:y+w+h\n\ -Color format: '#000000'\n"; + const char *usage_text = "minetestmapper [options]\n" + " -i/--input \n" + " -o/--output \n" + " --bgcolor \n" + " --scalecolor \n" + " --playercolor \n" + " --origincolor \n" + " --drawscale\n" + " --drawplayers\n" + " --draworigin\n" + " --geometry x:y+w+h\n" + "Color format: '#000000'\n"; std::cout << usage_text; }