Skip to content

ilazaric/include-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

include-https

Weird hack for #include-ing files over https
Tested only with github raw stuff and g++
Use at your own risk

Usage

This section assumes you've successfully installed this

To include a file located at https://<REST-OF-URL>:

#include <https://<REST-OF-URL>>
// or
#include "https://<REST-OF-URL>"

To add a <URL> as a directory for header/library searching add flag:

-idirafter "/usr/include/<URL>"

Install - all steps

sudo apt install libfuse3-dev
sudo apt install libcurlpp-dev
./build.sh && ./install.sh

Examples

In examples folder, look at them

Requirements

sudo apt install libfuse3-dev
sudo apt install libcurlpp-dev

Build

./build.sh

Install

./install.sh

Uninstall

./uninstall.sh

About

Weird hack for `#include`-ing files over https

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors