File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ from conans import ConanFile , CMake
2+
3+
4+ class CircularBufferConan (ConanFile ):
5+ name = "circular_buffer"
6+ version = "0.0.1"
7+ license = "MIT License"
8+ author = "vinit james vinit.james24@gmail.com"
9+ url = "https://github.com/vinitjames/circularbuffer"
10+ description = "A simple, general purpose STL style circularbuffer implementation in C++."
11+ topics = ("circularbuffer" , "ringbuffer" , "conan-recipe" , "c++" )
12+ exports_sources = "*"
13+
14+ def build (self ): # this is not building a library, just tests
15+ cmake = CMake (self )
16+ cmake .configure ()
17+ cmake .build ()
18+ cmake .test ()
19+
20+ def package (self ):
21+ print (self .name )
22+ self .copy ("{}.h" .format (self .name ), dst = "include" , src = "." )
23+ self .copy ("LICENSE" , dst = "license" , src = "." )
24+
25+ def package_info (self ):
26+ self .info .header_only ()
You can’t perform that action at this time.
0 commit comments