This commit is contained in:
fasiondog 2023-10-01 22:16:04 +08:00
parent 0fdf4d81a5
commit 00d54291fd
3 changed files with 10 additions and 9 deletions

View File

@ -68,7 +68,7 @@ void sendFeedback() {
json req;
req["uid"] = boost::uuids::to_string(uid);
req["name"] = "hikyuu";
req["part"] = "hikyuu";
req["version"] = HKU_VERSION;
req["build"] = fmt::format("{}", HKU_VERSION_BUILD);
req["platform"] = getPlatform();

View File

@ -1,10 +1,3 @@
option("feedback")
set_default(true)
set_showmenu(true)
set_category("hikyuu")
set_description("Enable send feedback.")
add_defines("HKU_SEND_FEEDBACK")
option_end()
target("hikyuu")
if is_mode("debug", "coverage", "asan", "msan", "tsan", "lsan") then

View File

@ -1,5 +1,13 @@
set_xmakever("2.8.2")
-- Last Modified: 2023-08-08 11:28:13
option("feedback")
set_default(true)
set_showmenu(true)
set_category("hikyuu")
set_description("Enable send feedback.")
add_defines("HKU_SEND_FEEDBACK")
option_end()
-- project
set_project("hikyuu")