prepare release v0.2.1

This commit is contained in:
Gwenhael Goavec-Merou 2020-12-17 13:58:30 +01:00
parent 1b065277f9
commit 6fefebd02c
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@
cmake_minimum_required(VERSION 3.0)
# set the project name
project(openFPGALoader VERSION 0.1 LANGUAGES CXX)
project(openFPGALoader VERSION "0.2.1" LANGUAGES CXX)
add_definitions(-DVERSION=\"v${PROJECT_VERSION}\")
option(BUILD_STATIC "Whether or not to build with static libraries" OFF)
option(ENABLE_UDEV "use udev to search JTAG adapter from /dev/xx" ON)

View File

@ -386,7 +386,7 @@ int parse_opt(int argc, char **argv, struct arguments *args, jtag_pins_conf_t *p
}
if (result.count("Version")) {
cout << "openFPGALoader v0.1" << endl;
cout << "openFPGALoader " << VERSION << endl;
return 1;
}