prepare release v0.2.1
This commit is contained in:
parent
1b065277f9
commit
6fefebd02c
|
|
@ -2,7 +2,8 @@
|
||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
|
|
||||||
# set the project name
|
# 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(BUILD_STATIC "Whether or not to build with static libraries" OFF)
|
||||||
option(ENABLE_UDEV "use udev to search JTAG adapter from /dev/xx" ON)
|
option(ENABLE_UDEV "use udev to search JTAG adapter from /dev/xx" ON)
|
||||||
|
|
|
||||||
|
|
@ -386,7 +386,7 @@ int parse_opt(int argc, char **argv, struct arguments *args, jtag_pins_conf_t *p
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.count("Version")) {
|
if (result.count("Version")) {
|
||||||
cout << "openFPGALoader v0.1" << endl;
|
cout << "openFPGALoader " << VERSION << endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue