moelksasbyahmed commented on code in PR #817:
URL: https://github.com/apache/celix/pull/817#discussion_r2746397654


##########
conanfile.py:
##########
@@ -387,7 +388,10 @@ def generate(self):
             if "libcurl" in lst:
                 tc.cache_variables["BUILD_ERROR_INJECTOR_CURL"] = "ON"
         tc.cache_variables["CELIX_ERR_BUFFER_SIZE"] = 
str(self.options.celix_err_buffer_size)
-        # tc.cache_variables["CMAKE_PROJECT_Celix_INCLUDE"] = 
os.path.join(self.build_folder, "conan_paths.cmake")
+        if self.options.enable_gcc_analyzer and self.settings.compiler == 
"gcc":

Review Comment:
   oki now i understand what is Package ID in conan i added  
`enable_gcc_analyzer` option to `conanfile.py` i added 
   ```Pyhton
   del self.info.options.enable_gcc_analyzer
   ``` 
   from what i understand and searched this will tell conan that whether  the 
analyzer is on and off its the same package id 
   
   ###
   i added to `def generate` 
   ```Python
   # i remove the CMake_C_FLAGS  and i just made the whole work load for enable 
gcc analyze on cmake 
           tc.cache_variables["ENABLE_GCC_ANALYZER"] = 
self.options.enable_gcc_analyzer
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to