Skip to content

Commit 7816866

Browse files
authored
Merge pull request #222 from w4bremer/feature/enableConanPackaging
Initial conanfile.py for possible distribution
2 parents eaca5c6 + 20de500 commit 7816866

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

conanfile.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
from conans import ConanFile, CMake, tools
2+
3+
class autobahn_cppConan(ConanFile):
4+
name = "autobahn-cpp"
5+
version = "v20.8.1"
6+
license = "Boost Software License - Version 1.0 - August 17th, 2003"
7+
author = "Crossbar.io Technologies GmbH and contributors"
8+
description = "WAMP for C++ on Boost/ASIO"
9+
url = "https://github.com/crossbario/autobahn-cpp"
10+
requires = "boost/1.73.0","msgpack/3.2.1","websocketpp/0.8.2"
11+
generators = "cmake_find_package"
12+
scm = {
13+
"type": "git",
14+
"subfolder": ".",
15+
"url": "auto",
16+
"revision": "auto"
17+
}
18+
no_copy_source = True
19+
20+
def package(self):
21+
self.copy("*.hpp", dst="include/autobahn", src="autobahn")
22+
self.copy("*.ipp", dst="include/autobahn", src="autobahn")
23+
24+
def package_id(self):
25+
self.info.header_only()

conanfile.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)