Skip to content

Conversation

@ofenloch
Copy link

@ofenloch ofenloch commented Dec 4, 2023

Hi, BloomShell,

I added CMake as build system and fixed some issues to build the project on Ubuntu 20.04 with gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2). Further, I added a running demo program (demo/yfdemo.cpp) using your code in the demo/*.cpp sources.

Regards

Oliver

add a top level CMakeLists.txt

use FetchContent to get the required dependencies:
     1. cpr (https://github.com/libcpr/cpr)
     2. json (https://github.com/nlohmann/json)

replace "#pragma once" by proper include guards

rename variables "unix" to "_unix" to resolve some #define issue with
yet unknown origin

On branch cmake
Changes to be committed:
	new file:   .gitignore
	new file:   CMakeLists.txt
	modified:   cpp/base.cpp
	modified:   cpp/methods.cpp
	new file:   demo/yfdemo.cpp
	modified:   hpp/base.h
	modified:   hpp/benchmark.h
	modified:   hpp/methods.h
	modified:   hpp/requests.h
	modified:   hpp/structures.h
fix compiler warnings
fix some of the warnings emitted by gcc
@puddup
Copy link
Owner

puddup commented Apr 9, 2024

Hi ofenloch, thanks for the improvements! :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants