summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt9
-rw-r--r--instr-client.c2
-rw-r--r--version.h.in1
3 files changed, 1 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95d9ddc..fa99325 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,17 +1,8 @@
cmake_minimum_required(VERSION 2.8)
project(Instrument)
-set(FW_VERSION 5.00)
-
-# configure a header file to pass some of the CMake settings
-# to the source code
-configure_file (
- "${PROJECT_SOURCE_DIR}/version.h.in"
- "${PROJECT_BINARY_DIR}/version.h"
-)
# add the binary tree to the search path for include files
-# so that we will find TutorialConfig.h
include_directories("${PROJECT_BINARY_DIR}")
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
diff --git a/instr-client.c b/instr-client.c
index c020e65..ed5c64f 100644
--- a/instr-client.c
+++ b/instr-client.c
@@ -118,7 +118,7 @@ int main(int argc, char** argv)
return -1;
}
- g_printf("Welcome to InstrumentShell v%.2f\n\n",FW_VERSION);
+ g_printf("Welcome to InstrumentShell v%s\n\n",FW_VERSION);
g_print("> ");
diff --git a/version.h.in b/version.h.in
deleted file mode 100644
index aa272d0..0000000
--- a/version.h.in
+++ /dev/null
@@ -1 +0,0 @@
-#define FW_VERSION @FW_VERSION@