@@ -14,8 +14,9 @@ class MTConnectAgentConan(ConanFile):
1414 license = "Apache License 2.0"
1515 settings = "os" , "compiler" , "arch" , "build_type"
1616 options = { "without_ipv6" : [True , False ],
17- "with_ruby" : [True , False ],
17+ "with_ruby" : [True , False ],
1818 "development" : [True , False ],
19+ "coverage" : [True , False ],
1920 "shared" : [True , False ],
2021 "winver" : [None , "ANY" ],
2122 "with_docs" : [True , False ],
@@ -34,6 +35,7 @@ class MTConnectAgentConan(ConanFile):
3435 "without_ipv6" : False ,
3536 "with_ruby" : True ,
3637 "development" : False ,
38+ "coverage" : False ,
3739 "shared" : False ,
3840 "winver" : "0x0A00" ,
3941 "with_docs" : False ,
@@ -177,6 +179,7 @@ def generate(self):
177179 tc .cache_variables ['AGENT_WITH_DOCS' ] = self .options .with_docs .__bool__ ()
178180 tc .cache_variables ['AGENT_WITHOUT_IPV6' ] = self .options .without_ipv6 .__bool__ ()
179181 tc .cache_variables ['DEVELOPMENT' ] = self .options .development .__bool__ ()
182+ tc .cache_variables ['AGENT_ENABLE_COVERAGE' ] = self .options .coverage .__bool__ ()
180183 if self .options .agent_prefix :
181184 tc .cache_variables ['AGENT_PREFIX' ] = self .options .agent_prefix
182185 if is_msvc (self ):
0 commit comments