We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8122ad commit 5509f95Copy full SHA for 5509f95
tutorial/creating_packages/other_packages/header_only/conanfile.py
@@ -8,6 +8,8 @@ class SumConan(ConanFile):
8
# No settings/options are necessary, this is header only
9
exports_sources = "include/*"
10
no_copy_source = True
11
+ # Important, define the package_type
12
+ package_type = "header-library"
13
14
def package(self):
15
# This will also copy the "include" folder
tutorial/creating_packages/other_packages/header_only_gtest/conanfile.py
@@ -12,6 +12,8 @@ class SumConan(ConanFile):
exports_sources = "include/*", "test/*"
generators = "CMakeToolchain", "CMakeDeps"
16
17
18
def validate(self):
19
check_min_cppstd(self, 11)
0 commit comments