Skip to content

Instantly share code, notes, and snippets.

View leannejdong's full-sized avatar
💭
I may be slow to respond.

Leanne Dong leannejdong

💭
I may be slow to respond.
View GitHub Profile
### Keybase proof
I hereby claim:
* I am leannejdong on github.
* I am leannejdong (https://keybase.io/leannejdong) on keybase.
* I have a public key ASC7PMBECnZj2Qo8ldriraFXwyfpjvZJgUHh9lLa0jMQpQo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am leannejdong on github.
* I am leannejdong (https://keybase.io/leannejdong) on keybase.
* I have a public key ASC7PMBECnZj2Qo8ldriraFXwyfpjvZJgUHh9lLa0jMQpQo
To claim this, I am signing this object:
set ai
set si
set sw=2
"set exrc
set expandtab
set formatoptions+=o
set hidden
"set number
set ls=2
set spell spelllang=en_us
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=10
compiler.libcxx=libstdc++11
build_type=Release
[options]
# Specify to use PDF mode as default
$pdf_mode = 1;
$bibtex_use = 1.5;
# Specify a viewer
$pdf_previewer = "start okular";
# Show how much time was used to compile
$show_time = 1;
set ai
set si
set sw=2
"set exrc
set expandtab
set formatoptions+=o
set hidden
"set number
set spell spelllang=en_us
set statusline=
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
#include <boost/beast/core.hpp>
#include <boost/beast/http.hpp>
#include <boost/beast/version.hpp>
#include <boost/asio/strand.hpp>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <memory>
#include <string>
## Build sdk
rm -r /home/leanne/.conan/data/bitwyresdk
conan create . bitwyresdk/1.0.0@ --build=missing
mkdir build; cd build
conan install .. --build=missing
cmake .. -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_BUILD_TYPE=Debug
cmake .. -DUNIT_TESTS=1 -DBUILD_TESTING=1 -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_BUILD_TYPE=Debug
cmake_minimum_required(VERSION 3.12)
project(SimpleSolve)
set(CMAKE_CXX_STANDARD 20)
find_package(Eigen3 3.3 REQUIRED NO_MODULE)
find_package(range)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
add_library(SimpleSolve INTERFACE) #this allows cmake to build the .so or .a file
target_include_directories(SimpleSolve INTERFACE include/)
target_link_libraries(SimpleSolve INTERFACE Eigen3::Eigen)
install(TARGETS SimpleSolve DESTINATION /usr/lib)