-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Changed init to receive the writable path containing the json c…
…onfig file
- Loading branch information
1 parent
7769abc
commit de80893
Showing
5 changed files
with
131 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
include_directories( | ||
../include | ||
add_executable(SDKIdleExample | ||
SDKIdleExample.cpp | ||
) | ||
target_link_libraries(SDKIdleExample PRIVATE "-Wl,--whole-archive" | ||
GeniusSDK "-Wl,--no-whole-archive" | ||
|
||
file(GLOB ALL_SRCS | ||
"../include/*.h" | ||
"../include/*.hpp" | ||
"../src/*.cpp" | ||
"../src/*.c" | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* @file SDKIdleExample.cpp | ||
* @brief | ||
* @date 2024-07-31 | ||
* @author Henrique A. Klein ([email protected]) | ||
*/ | ||
|
||
#include <math.h> | ||
#include <fstream> | ||
#include <memory> | ||
#include <iostream> | ||
#include <cstdlib> | ||
#include <cstdint> | ||
|
||
#include <boost/program_options.hpp> | ||
#include <boost/format.hpp> | ||
#include <boost/asio.hpp> | ||
#include "local_secure_storage/impl/json/JSONSecureStorage.hpp" | ||
#include "GeniusSDK.h" | ||
|
||
|
||
int main( int argc, char *argv[] ) | ||
{ | ||
const char* no_path = "/home/henrique/SGNSNode/"; | ||
GeniusSDKInit(no_path); | ||
|
||
|
||
while ( true ) | ||
{ | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters