Merge pull request #5 from logos-blockchain/chore/nameWithUnderscores

chore: rename generted lib with only _ no -
This commit is contained in:
Khushboo-dev-cpp 2026-02-20 16:23:23 +05:30 committed by GitHub
commit 1291c40777
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
project(logos-execution-zone-wallet-module LANGUAGES CXX) project(logos_execution_zone_wallet_module LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
@ -152,7 +152,7 @@ add_library(logos_cpp_sdk INTERFACE)
target_include_directories(logos_cpp_sdk INTERFACE "${SDK_INC}") target_include_directories(logos_cpp_sdk INTERFACE "${SDK_INC}")
# ---- Plugin ---- # ---- Plugin ----
set(PLUGIN_TARGET logos-execution-zone-wallet-module) set(PLUGIN_TARGET logos_execution_zone_wallet_module)
qt_add_plugin(${PLUGIN_TARGET} CLASS_NAME LogosExecutionZoneWalletModule) qt_add_plugin(${PLUGIN_TARGET} CLASS_NAME LogosExecutionZoneWalletModule)

6
flake.lock generated
View File

@ -350,11 +350,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1771403500, "lastModified": 1771420202,
"narHash": "sha256-KnDqKhMjNjknUdtSupIhrTOR8CUCVHEi8ZEkEb/DUKU=", "narHash": "sha256-r3lO12wvYPm6Xe7YFGK40iYe+1OID5YlGlup6RGgvs8=",
"owner": "logos-blockchain", "owner": "logos-blockchain",
"repo": "lssa", "repo": "lssa",
"rev": "27f31cf3d045506e3f0e887628057e15c7588463", "rev": "89ce9f322a1fc4214ec818e094e6efc97be02d9c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -101,7 +101,7 @@
program = program =
"${pkgs.writeShellScriptBin "inspect-module" '' "${pkgs.writeShellScriptBin "inspect-module" ''
exec ${logosModuleViewerPackage}/bin/logos-module-viewer \ exec ${logosModuleViewerPackage}/bin/logos-module-viewer \
--module ${logosExecutionZoneWalletModuleLib}/lib/liblogos-execution-zone-wallet-module.${extension} --module ${logosExecutionZoneWalletModuleLib}/lib/liblogos_execution_zone_wallet_module.${extension}
''}/bin/inspect-module"; ''}/bin/inspect-module";
}; };
in in

View File

@ -7,7 +7,7 @@ configure:
${LOGOS_EXECUTION_ZONE_WALLET_INCLUDE:+-DLOGOS_EXECUTION_ZONE_WALLET_INCLUDE="$LOGOS_EXECUTION_ZONE_WALLET_INCLUDE"} ${LOGOS_EXECUTION_ZONE_WALLET_INCLUDE:+-DLOGOS_EXECUTION_ZONE_WALLET_INCLUDE="$LOGOS_EXECUTION_ZONE_WALLET_INCLUDE"}
build: configure build: configure
cmake --build build --parallel --target liblogos-execution-zone-wallet-module cmake --build build --parallel --target logos_execution_zone_wallet_module
clean: clean:
rm -rf build result rm -rf build result

View File

@ -1,5 +1,5 @@
{ {
"name": "liblogos-execution-zone-wallet-module", "name": "liblogos_execution_zone_wallet_module",
"version": "1.0.0", "version": "1.0.0",
"description": "Logos Execution Zone Wallet Module for Logos Core", "description": "Logos Execution Zone Wallet Module for Logos Core",
"author": "Logos Blockchain Team", "author": "Logos Blockchain Team",

View File

@ -137,7 +137,7 @@ LogosExecutionZoneWalletModule::~LogosExecutionZoneWalletModule() {
// === Plugin Interface === // === Plugin Interface ===
QString LogosExecutionZoneWalletModule::name() const { QString LogosExecutionZoneWalletModule::name() const {
return "liblogos-execution-zone-wallet-module"; return "liblogos_execution_zone_wallet_module";
} }
QString LogosExecutionZoneWalletModule::version() const { QString LogosExecutionZoneWalletModule::version() const {
@ -147,7 +147,7 @@ QString LogosExecutionZoneWalletModule::version() const {
// === Logos Core === // === Logos Core ===
void LogosExecutionZoneWalletModule::initLogos(LogosAPI* logosApiInstance) { void LogosExecutionZoneWalletModule::initLogos(LogosAPI* logosApiInstance) {
logosApi = logosApiInstance; logosAPI = logosApiInstance;
} }
// === Account Management === // === Account Management ===