Skip to content

Commit

Permalink
Update conanfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MelamudMichael committed Mar 5, 2024
1 parent 32b0e02 commit cdbd960
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class UpCpp(ConanFile):
conan_version = None
generators = "CMakeDeps", "PkgConfigDeps", "VirtualRunEnv", "VirtualBuildEnv"
version = "0.1"
exports_sources = "CMakeLists.txt", "conaninfo/*", "include/*" ,"src/*" , "test/*", "up-core-api/*"
exports_sources = "CMakeLists.txt", "up-core-api/*", "include/*" ,"src/*" , "test/*", "cmake/*"

options = {
"shared": [True, False],
Expand All @@ -34,11 +34,6 @@ class UpCpp(ConanFile):
"build_unbundled": False,
"build_cross_compiling": False,
}
up_core_api_version = "1.5.5"

def source(self):
if not self.options.build_unbundled:
//self.run(f"git clone --branch uprotocol-core-api-{self.up_core_api_version} https://github.com/eclipse-uprotocol/up-core-api.git")

def requirements(self):
self.requires("protobuf/3.21.12" + ("@cross/cross" if self.options.build_cross_compiling else ""))
Expand Down

0 comments on commit cdbd960

Please sign in to comment.