Add conanfile.py, publish conan package
Some checks failed
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 0s
Run UnitTests / build-and-run-unittests (push) Failing after 13s

This commit is contained in:
Stephen Seo 2024-07-15 13:31:04 +09:00
parent 09104524b5
commit 3f7cb8182e

20
conanfile.py Normal file
View file

@ -0,0 +1,20 @@
from conan import ConanFile
from conan.tools.files import copy
class ECMSConan(ConanFile):
name = "ecms"
version = "1.0"
# No settings/options are necessary, this is header only
exports_sources = "src/EC/*"
no_copy_source = True
def package(self):
# This will also copy the "include" folder
copy(self, "*.hpp", self.source_folder, self.package_folder)
def package_info(self):
# For header-only packages, libdirs and bindirs are not used
# so it's recommended to set those as empty.
self.cpp_info.bindirs = []
self.cpp_info.libdirs = []