Skip to content

Commit 01d0ba1

Browse files
committed
initial work on Conan support
1 parent 6df748a commit 01d0ba1

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@
2121
*.app
2222

2323
# Test artefacts
24+
/bin
2425
test/bin
26+
27+
# Conan artificats
28+
/tmp

conanfile.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import os
2+
from conans import (
3+
ConanFile,
4+
python_requires,
5+
)
6+
7+
8+
b2 = python_requires("b2-helper/0.2.0@grisumbras/dev")
9+
10+
11+
class EnumFlagsConan(b2.B2.Mixin, ConanFile):
12+
name = "enum-flags"
13+
version = "0.1.0"
14+
description = "Bit flags for C++ scoped enums"
15+
topics = "bit-mask", "bit-flag",
16+
author = "Dmitry Arkhipov <grisumbras@gmail.com>"
17+
license = "MIT"
18+
url = "https://github.com/grisumbras/enum-flags"
19+
homepage = url
20+
21+
no_copy_source = True

jamroot.jam

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import package ;
2+
import path ;
3+
4+
5+
project enum-flags ;
6+
7+
8+
package.install headers enum-flags
9+
: <install-source-root>include
10+
:
11+
:
12+
: [ path.glob-tree include : *.hpp ]
13+
;
14+
explicit headers ;
15+
16+
package.install-data license : enum-flags : LICENSE ;
17+
18+
alias install : headers license ;
19+
explicit install headers license ;
File renamed without changes.

0 commit comments

Comments
 (0)