Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from conans import ConanFile, CMake


class CircularBufferConan(ConanFile):
name = "circular_buffer"
version = "0.0.1"
license = "MIT License"
author = "vinit james vinit.james24@gmail.com"
url = "https://github.com/vinitjames/circularbuffer"
description = "A simple, general purpose STL style circularbuffer implementation in C++."
topics = ("circularbuffer", "ringbuffer", "conan-recipe", "c++")
exports_sources = "*"

def build(self): # this is not building a library, just tests
cmake = CMake(self)
cmake.configure()
cmake.build()
cmake.test()

def package(self):
print(self.name)
self.copy("{}.h".format(self.name), dst="include", src=".")
self.copy("LICENSE", dst="license", src=".")

def package_info(self):
self.info.header_only()