Skip to content

Commit 28191be

Browse files
committed
Remove Fill
1 parent fa9a136 commit 28191be

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

cppython/plugins/conan/plugin.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -232,29 +232,6 @@ def sync_data(self, consumer: SyncConsumer) -> SyncData:
232232
# Create the directory structure if it doesn't exist
233233
toolchain_path.parent.mkdir(parents=True, exist_ok=True)
234234

235-
# Always create a minimal toolchain file that includes dependencies when they exist
236-
toolchain_content = f'''# Conan CMake integration file
237-
# This file is managed by CPPython and integrates Conan dependencies with CMake
238-
239-
# Set the build directory for reference
240-
set(CONAN_BUILD_DIR "{self.core_data.cppython_data.build_path.as_posix()}")
241-
242-
# Include CMakeDeps generated dependency files if they exist
243-
file(GLOB CONAN_DEPS_FILES "${{CONAN_BUILD_DIR}}/*-config.cmake")
244-
foreach(DEPS_FILE ${{CONAN_DEPS_FILES}})
245-
include("${{DEPS_FILE}}")
246-
endforeach()
247-
248-
# Include any conan-generated toolchain files
249-
if(EXISTS "${{CONAN_BUILD_DIR}}/conan_toolchain.cmake.real")
250-
include("${{CONAN_BUILD_DIR}}/conan_toolchain.cmake.real")
251-
else()
252-
message(STATUS "Conan dependencies not installed yet - run conan install to install dependencies")
253-
endif()
254-
'''
255-
256-
toolchain_path.write_text(toolchain_content)
257-
258235
return CMakeSyncData(
259236
provider_name=TypeName('conan'),
260237
toolchain=toolchain_path,

0 commit comments

Comments
 (0)