Skip to content

Commit 6fefebd

Browse files
committed
prepare release v0.2.1
1 parent 1b06527 commit 6fefebd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
cmake_minimum_required(VERSION 3.0)
33

44
# set the project name
5-
project(openFPGALoader VERSION 0.1 LANGUAGES CXX)
5+
project(openFPGALoader VERSION "0.2.1" LANGUAGES CXX)
6+
add_definitions(-DVERSION=\"v${PROJECT_VERSION}\")
67

78
option(BUILD_STATIC "Whether or not to build with static libraries" OFF)
89
option(ENABLE_UDEV "use udev to search JTAG adapter from /dev/xx" ON)

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ int parse_opt(int argc, char **argv, struct arguments *args, jtag_pins_conf_t *p
386386
}
387387

388388
if (result.count("Version")) {
389-
cout << "openFPGALoader v0.1" << endl;
389+
cout << "openFPGALoader " << VERSION << endl;
390390
return 1;
391391
}
392392

0 commit comments

Comments
 (0)