Skip to content

Commit

Permalink
Merge pull request #222 from w4bremer/feature/enableConanPackaging
Browse files Browse the repository at this point in the history
Initial conanfile.py for possible distribution
  • Loading branch information
oberstet authored Oct 26, 2020
2 parents eaca5c6 + 20de500 commit 7816866
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
25 changes: 25 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from conans import ConanFile, CMake, tools

class autobahn_cppConan(ConanFile):
name = "autobahn-cpp"
version = "v20.8.1"
license = "Boost Software License - Version 1.0 - August 17th, 2003"
author = "Crossbar.io Technologies GmbH and contributors"
description = "WAMP for C++ on Boost/ASIO"
url = "https://github.com/crossbario/autobahn-cpp"
requires = "boost/1.73.0","msgpack/3.2.1","websocketpp/0.8.2"
generators = "cmake_find_package"
scm = {
"type": "git",
"subfolder": ".",
"url": "auto",
"revision": "auto"
}
no_copy_source = True

def package(self):
self.copy("*.hpp", dst="include/autobahn", src="autobahn")
self.copy("*.ipp", dst="include/autobahn", src="autobahn")

def package_id(self):
self.info.header_only()
7 changes: 0 additions & 7 deletions conanfile.txt

This file was deleted.

0 comments on commit 7816866

Please sign in to comment.