aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--tools/.gitignore1
-rw-r--r--tools/CMakeLists.txt4
-rw-r--r--tools/mpiologo.c2
4 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 193fa63..7114aa3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,3 +5,4 @@ project (${PACKAGE} C)
add_subdirectory (libmpio)
add_subdirectory (src)
+add_subdirectory (tools)
diff --git a/tools/.gitignore b/tools/.gitignore
new file mode 100644
index 0000000..016ccd6
--- /dev/null
+++ b/tools/.gitignore
@@ -0,0 +1 @@
+mpiologo
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644
index 0000000..fe1224c
--- /dev/null
+++ b/tools/CMakeLists.txt
@@ -0,0 +1,4 @@
+set (CMAKE_C_FLAGS -Wall)
+
+add_executable (mpiologo mpiologo.c)
+
diff --git a/tools/mpiologo.c b/tools/mpiologo.c
index 92824be..3c4155f 100644
--- a/tools/mpiologo.c
+++ b/tools/mpiologo.c
@@ -109,7 +109,7 @@ main (int argc, char *argv[])
break;
case 'v':
- version_etc (stdout, "logotool", "mpio", VERSION, "Salmoon");
+ version_etc (stdout, "logotool", "mpio", "", "Salmoon");
exit(0);
case '?':
print_usage (stderr, argv[0], 1);